Update server/query

Braydon 2024-04-10 01:27:17 -07:00
parent 95f5511609
commit 02e8bdb925

@ -15,10 +15,10 @@ Ping a Java or Bedrock server and retrieve it's status.
| port | number | `25565`/`19132` Respectively | `The port of the server to lookup` | | port | number | `25565`/`19132` Respectively | `The port of the server to lookup` |
## Error Codes ## Error Codes
| Code | Description | | Code | Description |
|---------------------|:--------------------------------------:| |---------------------|:------------------------------------------:|
| `400 (BAD_REQUEST)` | The platform or hostname is invalid | | `400 (BAD_REQUEST)` | The platform, hostname, or port is invalid |
| `404 (NOT_FOUND)` | The requested server couldn't be found | | `404 (NOT_FOUND)` | The requested server couldn't be found |
## Cache ## Cache
Results are cached for up to `1 minute` Results are cached for up to `1 minute`