Get All Regions
GET/session/v1/regions
Get all of the enabled regions and their configuration
Required Permissions:
- For any player (including themselves) any of:
session:*,session:read:config
Required Session Permissions: None
Request
Query Parameters
Default value: 0
Possible values: >= 1 and <= 50
Default value: 50
Responses
- 200
- 403
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
regions
object[]
required
List of all regions
Possible values: non-empty and <= 128 characters
ID for this region
The sorting priority order for this region
Indicates if the region is for custom games only
Possible values: non-empty and <= 256 characters
Text description of the region
Cursor to continue iterating through enabled regions. Non 0 cursor in the response means there are more regions. Pass the returned cursor up on a subsequent call to continue. A 0 cursor in the response means you have reached the end
{
"regions": [
{
"region_id": "string",
"sort_order": 0,
"custom_only": true,
"description": "string"
}
],
"cursor": 0
}
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"
}
]
}