Get Common Session Template Configuration
GET/v1/sandbox-common/session-templates
Get the set of common Session Template configuration. Requires any of permissions: sandbox:config:view, sandbox:config:edit
Responses
- 200
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
templates
object[]
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.
{
"templates": [
{
"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"
}
]
}