Update server/query

Braydon 2024-04-10 04:10:34 -07:00
parent 02e8bdb925
commit 92dae7e4e9

@ -5,14 +5,9 @@ Ping a Java or Bedrock server and retrieve it's status.
## Path Variables ## Path Variables
| Name | Type | Description | | Name | Type | Description |
|----------|:------:|--------------------------------:| |----------|:------:|----------------------------------------------------------:|
| platform | string | `JAVA` or `BEDROCK` | | platform | string | `JAVA` or `BEDROCK` |
| hostname | string | `The server hostname to lookup` | | hostname | string | `The server hostname to lookup (Append :<port> for port)` |
## Query Parameters
| Name | Type | Default | Content |
|------|:------:|-----------------------------:|-----------------------------------:|
| port | number | `25565`/`19132` Respectively | `The port of the server to lookup` |
## Error Codes ## Error Codes
| Code | Description | | Code | Description |