-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Bug
When requesting the server status via ESI, the vip field is only present when the server is in VIP mode.
When the server is normally open, the vip field is missing entirely instead of returning false.
This causes inconsistent schema behavior compared to the StatusGet schema, which does not mark vip as optional.
Request
GET /latest/status/?datasource=tranquility
Response
VIP
{
"players": 0,
"server_version": 3027895,
"start_time":"2025-09-16T11:03:00Z",
"vip": true
}
OPEN
{
"players": 16977,
"server_version": "3027895",
"start_time": "2025-09-16T11:17:26Z"
}
Status Code
200
Headers
| Header | Value |
|---|---|
| date | Tue, 16 Sep 2025 12:12:21 GMT |
| content-type | application/json; charset=UTF-8 |
| content-length | 80 |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| access-control-expose-headers | Etag, X-Compatibility-Date, X-Pages, X-Esi-Error-Limit-Remain, X-Esi-Error-Limit-Reset |
| cache-control | public |
| content-language | en |
| etag | "cc4e2d9c6ae415e4ddff8042202240b50d522e08037eee99b215048f" |
| expires | Tue, 16 Sep 2025 12:12:48 GMT |
| last-modified | Tue, 16 Sep 2025 12:12:18 GMT |
| strict-transport-security | max-age=31536000 |
| vary | Accept-Language |
| vary | X-Compatibility-Date |
| x-compatibility-date | 2020-01-01 |
| x-esi-cache-status | HIT |
| x-esi-error-limit-remain | 100 |
| x-esi-error-limit-reset | 39 |
| x-esi-request-id | 9f24b4b5-6385-4fb0-9e57-94e110d2895a |
Expected
The vip field should always be present and explicitly boolean:
"vip": true when the server is in VIP mode (developers-only)
"vip": false when the server is normally open
This ensures the response matches the schema consistently and prevents client-side ambiguity.
Checklist
- Bug description is provided
- Request path is provided
- Response status code is provided
- Response headers are provided
- Response body is provided
- Expected response is provided