Skip to content

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

Authorizations

Responses

200

Successful Response

object
templates
required
Array<object>
object
session_type
required

Unique name for this type of session

string
>= 1 characters <= 50 characters
engine_session_type
required

The engine name for this session type

string
>= 1 characters <= 50 characters
can_join_matchmaking

If sessions of this type can be entered into the matchmaking system

boolean
default: true
can_be_created_by_players

If players can create this session directly

boolean
default: true
attempt_auto_join

Should we attempt to automatically join an existing session before creating a new one

boolean
default_public

If the session should be publicly joinable without invites

boolean
auto_add_to_browser

If the session should be automatically added to the public session browser

boolean
auto_browser_params

Parameters added to the session when it is automatically added to the public session browser

object
key
additional properties
string
>= 1 characters <= 4096 characters
can_be_added_to_browser

Can this session type be added to the public session browser

boolean
default: true
keep_alive_on_empty

If the session should be kept alive when there are no players actively in it

boolean
auto_startup_params

Parameters passed to an instance when it is automatically started for this session type

object
map
required

Name of the map for the instance to spawn with

string
>= 1 characters <= 1024 characters
mode

Game mode for the instance to spawn in

string
>= 1 characters <= 1024 characters
misc_params

Additional commandline parameters for the instance

string
>= 1 characters <= 4096 characters
custom_data

Custom data to pass through to the instance

object
key
additional properties
string
>= 1 characters <= 4096 characters
auto_startup_instance_template_id

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

string format: uuid
min_session_count

The minimum number of these sessions that should be kept alive at all times

integer
default_num_teams

Default number of teams this session type will have

integer
default: 2 >= 1
default_players_per_team

Default number of players allowed per team

integer
default: 4 >= 1
can_player_change_team

Can a player change their own team without elevated permissions

boolean
default: true
custom_data

Custom passthrough data that will be added to all sessions of this type

object
key
additional properties
string
>= 1 characters <= 4096 characters
notify_on_reservation

If players should be notified at time of reservation in this type of session instead of waiting until they’re invited

boolean
default: true