Update server/query

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

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