Get Instance Request Template
GET/session/v1/instance-request-template/:instance_request_template_id
Get the config used to request an instance by the InstanceRequestTemplate ID. This ID can be found in
MatchMakingProfiles that are return by the /v1/match-making-templates/ endpoint
Required Permissions:
- For any player (including themselves) any of:
session:*,session:read:config
Required Session Permissions: None
Request
Path Parameters
Header Parameters
If you provide the ETag that matches the current ETag for this resource, a 304 response will be returned - indicating that the resource has not changed.
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 [
]
ID to uniquely identify this instance launch template
map_selection_list
object
required
ID to uniquely identify this map selection list
maps
object[]
required
List of maps that can be chosen in this selection list
ID to uniquely identify this map game
Name of the map the instance should load into
Game mode for the instance to spawn in
Possible values: <= 100
Chance that this map will get selected in a rotation list
custom_data
object
Custom data to pass through to the instance
Human readable name for this map
Description of the map
Misc params to be passed to the instance when using this map
Possible values: [dedicated, player, preallocated]
Whether the host is another player, or a dedicated instance
custom_data
object
Custom data that will be passed to the session during the instance launch request
{
"instance_request_template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"map_selection_list": {
"map_selection_list_id": "string",
"maps": [
{
"map_id": "string",
"map_name": "string",
"mode": "string",
"map_weight": 0,
"custom_data": {},
"name": "string",
"description": "string",
"misc_params": "string"
}
]
},
"default_host_type": "dedicated",
"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"
}
]
}