Instances
Get instance
Return a single instance by numeric ID or slug name.
Authorization
bearerAuthorizationBearer token
User session token. Obtained from POST /api/auth/login.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
curl -X GET "https://loading/api/instances/string"{
"data": {
"id": 1,
"name": "my-instance",
"title": "Chill Hangout",
"description": "A relaxed hangout",
"thumbnail": null,
"theme": 3435986943,
"capacity": 16,
"server": "my-server.com",
"owner": "u:1@my-server.com",
"world": "1@my-server.com",
"tags": [],
"connection": {
"method": "relay",
"data": "wss://relay.my-server.com",
"region": "fr"
},
"count": 3,
"players": [
{
"user": "1@my-server.com",
"display": "John Doe"
}
],
"alias": [
{
"key": "iid",
"value": "1@my-server.com"
}
],
"lifecycle": {
"type": "persistent"
},
"relay": "12"
},
"error": null,
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}