Relay
Get instance players
List players in a specific instance on the relay. Admin only.
Authorization
bearerAuthorizationBearer token
User session token. Obtained from POST /api/auth/login.
In: header
Path Parameters
id*string
iid*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/api/relays/string/instances/string/players"{
"data": {
"total": 100,
"limit": 10,
"offset": 0,
"items": [
{
"id": 1,
"client_id": 1,
"display": "John Doe",
"flags": 0,
"joined_at": 1746057600000,
"custom_tps": 30,
"custom_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"
}