Instances
Search instances
Paginated search for running instances, optionally filtered by world or owner.
Authorization
bearerAuthorizationBearer token
User session token. Obtained from POST /api/auth/login.
In: header
Query Parameters
server*string
q*string
world*string
owner*string
limit*string
offset*string
Response Body
application/json
curl -X GET "https://loading/api/instances?server=string&q=string&world=string&owner=string&limit=string&offset=string"{
"data": {
"total": 100,
"limit": 10,
"offset": 0,
"items": [
{
"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"
}