Update server/query
parent
9bd6158871
commit
619b137ea6
@ -9,6 +9,12 @@ Ping a Java or Bedrock server and retrieve it's status.
|
||||
| platform | string | `JAVA` or `BEDROCK` |
|
||||
| hostname | string | `The server hostname to lookup` |
|
||||
|
||||
## Error Codes
|
||||
| Code | Description |
|
||||
|---------------------|:--------------------------------------:|
|
||||
| `400 (BAD_REQUEST)` | The platform or hostname is invalid |
|
||||
| `404 (NOT_FOUND)` | The requested server couldn't be found |
|
||||
|
||||
## Cache
|
||||
Results are cached for up to `1 minute`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user