Relay
Get relay live instances
List active instances reported by the relay process in real-time. Admin only.
Authorization
bearerAuthorizationBearer token
User session token. Obtained from POST /api/auth/login.
In: header
Path Parameters
id*string
Query Parameters
limit*string
offset*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/api/relays/string/live?limit=string&offset=string"{
"data": {
"total": 100,
"limit": 10,
"offset": 0,
"items": [
{
"id": "inst-abc123",
"internal_id": 1,
"player_count": 3,
"flags": 0,
"world": {
"master_id": 1,
"server": "my-server.com",
"version": 42
},
"capacity": 16,
"tps": 60,
"threshold": 0.001,
"effective_tps": 30,
"effective_threshold": 0.002
}
]
},
"error": null,
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}