Create Queue
POST/v1/sandbox/:sandbox_id/queue
Create a new Queue for a sandbox
Requires permission sandbox:config:edit.
Request
Path Parameters
Sandbox ID
- application/json
Body
required
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
custom_data
object
Custom data associated with the resource
Flag for whether or not the queue is active, and can be joined or sessions created from it
Possible values: >= 1
The maximum size of a group that can join this queue
ID for which group of matchmaking templates/rules will be used when joining this queue
legacy_config
object
Old config used by Legacy systems. These values are ignored by the current APIs
Default value: 0
Old queue id
Default value: 0
Minimum number of players on each side in a match resulting from this queue
Default value: 0
Maximum number of players on each side in a match resulting from this queue
Default value: 2
Number of sides in a match resulting from this queue
Default value: 0
Legacy ranking_type_id for this queue
Responses
- 201
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
custom_data
object
Custom data associated with the resource
Flag for whether or not the queue is active, and can be joined or sessions created from it
Possible values: >= 1
The maximum size of a group that can join this queue
ID for which group of matchmaking templates/rules will be used when joining this queue
legacy_config
object
Old config used by Legacy systems. These values are ignored by the current APIs
Default value: 0
Old queue id
Default value: 0
Minimum number of players on each side in a match resulting from this queue
Default value: 0
Maximum number of players on each side in a match resulting from this queue
Default value: 2
Number of sides in a match resulting from this queue
Default value: 0
Legacy ranking_type_id for this queue
ID of the Sandbox
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when this resource was created
ID to uniquely identify this queue
{
"name": "string",
"description": "string",
"custom_data": {},
"active": true,
"max_queue_group_size": 0,
"match_making_template_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"legacy_config": {
"queue_id": 0,
"min_players_per_side": 0,
"max_players_per_side": 0,
"num_sides": 2,
"ranking_type": 0
},
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z",
"created_timestamp": "2024-07-29T15:51:28.071Z",
"queue_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
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"
}
]
}