Update player/query
parent
1ec1e381c7
commit
27d11c0baa
@ -9,10 +9,10 @@ Retrieve information from Mojang regarding a player by looking up their username
|
|||||||
| query | string | `Username or UUID` |
|
| query | string | `Username or UUID` |
|
||||||
|
|
||||||
## Error Codes
|
## Error Codes
|
||||||
| Code | Description |
|
| Code | Description |
|
||||||
|---------------------|:--------------------------------------:|
|
|---------------------|:------------------------------------------------------:|
|
||||||
| `400 (BAD_REQUEST)` | The given UUID is malformed |
|
| `400 (BAD_REQUEST)` | The given UUID is malformed or the username is invalid |
|
||||||
| `404 (NOT_FOUND)` | The requested player couldn't be found |
|
| `404 (NOT_FOUND)` | The requested player couldn't be found |
|
||||||
|
|
||||||
## Cache
|
## Cache
|
||||||
Results are cached for up to `1 hour`
|
Results are cached for up to `1 hour`
|
||||||
|
Loading…
Reference in New Issue
Block a user