Put Session Template For Sandbox
PUT/v1/sandbox/:sandbox_id/session-template/:session_template_id
Update a specific Session Template in a sandbox
Requires permission sandbox:config:edit.
Request
Path Parameters
Sandbox ID
- application/json
Body
required
Possible values: non-empty and <= 50 characters
Unique name for this type of session
Possible values: non-empty and <= 50 characters
The engine name for this session type
Default value: true
If sessions of this type can be entered into the matchmaking system
Default value: true
If players can create this session directly
Should we attempt to automatically join an existing session before creating a new one
If the session should be publicly joinable without invites
If the session should be automatically added to the public session browser
auto_browser_params
object
Parameters added to the session when it is automatically added to the public session browser
Default value: true
Can this session type be added to the public session browser
If the session should be kept alive when there are no players actively in it
auto_startup_params
object
Parameters given to an instance to change what map and mode it loads, and other gameplay behavior
Possible values: non-empty and <= 1024 characters
Name of the map for the instance to spawn with
Possible values: non-empty and <= 1024 characters
Game mode for the instance to spawn in
Possible values: non-empty and <= 4096 characters
Additional commandline parameters for the instance
custom_data
object
Custom data to pass through to the instance
ID for an instance request template that should be used to automatically start an instance when a session of this type is created. This takes priority over Instance Startup Params
Default value: 0
The minimum number of these sessions that should be kept alive at all times
Possible values: >= 1
Default value: 2
Default number of teams this session type will have
Possible values: >= 1
Default value: 4
Default number of players allowed per team
Default value: true
Can a player change their own team without elevated permissions
custom_data
object
Custom passthrough data that will be added to all sessions of this type
Default value: true
If players should be notified at time of reservation in this type of session instead of waiting until they're invited
Possible values: [ALL, TEAM, SELF, NONE]
An enumeration.
Possible values: [ALL, TEAM, SELF, NONE]
An enumeration.
Possible values: [ALL, TEAM, SELF, NONE]
An enumeration.
Possible values: [ALL, TEAM, SELF, NONE]
An enumeration.
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: non-empty and <= 50 characters
Unique name for this type of session
Possible values: non-empty and <= 50 characters
The engine name for this session type
Default value: true
If sessions of this type can be entered into the matchmaking system
Default value: true
If players can create this session directly
Should we attempt to automatically join an existing session before creating a new one
If the session should be publicly joinable without invites
If the session should be automatically added to the public session browser
auto_browser_params
object
Parameters added to the session when it is automatically added to the public session browser
Default value: true
Can this session type be added to the public session browser
If the session should be kept alive when there are no players actively in it
auto_startup_params
object
Parameters given to an instance to change what map and mode it loads, and other gameplay behavior
Possible values: non-empty and <= 1024 characters
Name of the map for the instance to spawn with
Possible values: non-empty and <= 1024 characters
Game mode for the instance to spawn in
Possible values: non-empty and <= 4096 characters
Additional commandline parameters for the instance
custom_data
object
Custom data to pass through to the instance
ID for an instance request template that should be used to automatically start an instance when a session of this type is created. This takes priority over Instance Startup Params
Default value: 0
The minimum number of these sessions that should be kept alive at all times
Possible values: >= 1
Default value: 2
Default number of teams this session type will have
Possible values: >= 1
Default value: 4
Default number of players allowed per team
Default value: true
Can a player change their own team without elevated permissions
custom_data
object
Custom passthrough data that will be added to all sessions of this type
Default value: true
If players should be notified at time of reservation in this type of session instead of waiting until they're invited
Possible values: [ALL, TEAM, SELF, NONE]
An enumeration.
Possible values: [ALL, TEAM, SELF, NONE]
An enumeration.
Possible values: [ALL, TEAM, SELF, NONE]
An enumeration.
Possible values: [ALL, TEAM, SELF, NONE]
An enumeration.
ID of the Sandbox
UUID to identify this specific session template
platform_session_templates
object[]
List of PlatformSessionTemplates that belong to this session type
Possible values: non-empty and <= 50 characters
The platform's name for this type of platform session
Possible values: >= 1
The maximum number of players that are allowed within this platform session
custom_data
object
Custom passthrough data that will be added to all sessions of this type
Possible values: [Anon, Basic, XboxLive, PSN, NintendoNAID, NintendoSwitch, NintendoPPID, Google, GooglePlay, Apple, Epic, Steam, Amazon, Twitch, RallyHere, LegacyName]
An enumeration.
ID of the Sandbox
Unique id for this type of session that this template is associated with
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
{
"session_type": "string",
"engine_session_type": "string",
"can_join_matchmaking": true,
"can_be_created_by_players": true,
"attempt_auto_join": false,
"default_public": false,
"auto_add_to_browser": false,
"auto_browser_params": {},
"can_be_added_to_browser": true,
"keep_alive_on_empty": false,
"auto_startup_params": {
"map": "string",
"mode": "string",
"misc_params": "string",
"custom_data": {}
},
"auto_startup_instance_template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"min_session_count": 0,
"default_num_teams": 2,
"default_players_per_team": 4,
"can_player_change_team": true,
"custom_data": {},
"notify_on_reservation": true,
"player_visibility": "ALL",
"admin_player_visibility": "ALL",
"player_notification_frequency": "ALL",
"admin_player_notification_frequency": "ALL",
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"session_template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"platform_session_templates": [
{
"platform_session_type": "string",
"max_players": 0,
"custom_data": {},
"platform": "Anon",
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"session_template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z"
}
],
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z"
}
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"
}
]
}