From 619b137ea6a47cc8a57d389ead2cbce2131e1a85 Mon Sep 17 00:00:00 2001 From: Braydon Date: Sun, 7 Apr 2024 20:43:53 -0700 Subject: [PATCH] Update server/query --- server%2Fquery.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server%2Fquery.md b/server%2Fquery.md index 6870cea..9e12a9f 100644 --- a/server%2Fquery.md +++ b/server%2Fquery.md @@ -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`