Relay
List assigned instances
Return the DB instances assigned to this relay (not live relay state). Admin only.
Authorization
bearerAuthorizationBearer token
User session token. Obtained from POST /api/auth/login.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/api/relays/string/instances"{
"data": {
"total": 100,
"limit": 10,
"offset": 0,
"items": [
{
"id": 1,
"internal_id": 0,
"name": "my-room",
"title": "Chill Hangout",
"world": "1@my-server.com",
"owner": "1@my-server.com",
"capacity": 16,
"created_at": 1704067200000,
"lifecycle": {
"type": "persistent"
}
}
]
},
"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"
}