Get Browser Sessions By Type
GET/session/v1/browser
Get all public sessions of a specific type
Required Permissions:
- For any player (including themselves) any of:
session:*,session:read:browser
Required Permissions: None
Request
Query Parameters
Default value: 0
Possible values: >= 1 and <= 50
Default value: 50
Possible values: non-empty and <= 128 characters
Responses
- 200
- 403
- 422
Successful Response
Response Headers
ETag
string
Used to identify this version of the content. Provide with a get request to avoid downloading the same data multiple times.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Cursor to continue iterating through browser sessions. 0 means we have returned the last entry
browser_sessions
object[]
required
List of sessions in the browser
Possible values: non-empty and <= 128 characters
ID for the session
Possible values: [healthy, unhealthy, degraded, unknown]
An enumeration.
Number of players actively in this session
Possible values: >= 1 and <= 100
Maximum number of players that can be in this session
custom_data
object
Custom data with the listing of the instance in the Session browser
{
"cursor": 0,
"browser_sessions": [
{
"session_id": "string",
"instance_health": "healthy",
"player_count": 0,
"max_player_count": 0,
"custom_data": {}
}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}