Get All Session Templates
GET/session/v1/template
Get the config about all session templates
Required Permissions:
- For any player (including themselves) any of:
session:*,session:read:config
Required Session Permissions: None
Request
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
templates
object
Dictionary of SessionTemplates keyed on their template type
property name*
SessionTemplate
Template used to create new RallyHere sessions of a specific type. Configurable in the developer portal
unique name for this template
Default value: Game
Engine identifier for sessions of this type. For UE, this is commonly Party or Game.
Are sessions of this type allowed to join matchmaking?
Are players allowed to create sessions of this type?
DEPRECATED. Use 'attempt_auto_join' instead. Should players join existing sessions of this type before creating a new one
Should players join existing sessions of this type before creating a new one
Should sessions of this type should be publicly joinable by default
Should session be automatically added to the browser list
auto_browser_params
object
Browser parameters that can be used to filter results
Are sessions of this type able to be added to the server browser by players?
Should the session stay around, or be destroyed when the last player leaves it?
platform_templates
object
Platform-Specific session mappings that are used to coordinate Rally Here sessions with OnlineSubsystem sessions
property name*
PlatformSessionTemplate
Template used to create new platform sessions for a specific type of platform. Configurable in the developer portal
Possible values: [2, 4, 5, 9, 10, 11, 13, 16, 22, 24, 26, 28]
DEPRECATED. Use Platform instead. Unique ids for different client platforms
Possible values: [Anon, Basic, XboxLive, PSN, NintendoNAID, NintendoSwitch, NintendoPPID, Google, GooglePlay, Apple, Epic, Steam, Amazon, Twitch, RallyHere, LegacyName]
An enumeration.
Possible values: non-empty and <= 128 characters
Platform-Specific Identifier for the Platform's template
Possible values: >= 1 and <= 100
The maximum number of players that can be a part of this platform session
custom_data
object
Product-defined custom data
auto_startup_params
object
Parameters given to an instance to change what map and mode it loads, and other gameplay behavior
Name of the map for the instance to spawn with
Game mode for the instance to spawn in
Additional commandline parameters for the instance
custom_data
object
Custom data to pass through to the instance
ID of instance request template to be used to automatically request an instance on creation of a session of this type. Takes priority over auto_startup_params
Default value: 0
Minimum number of this type of session to be running at any given time per region.
custom_data
object
Product-defined custom data about this session type
Possible values: >= 1 and <= 50
Default value: 1
The number of teams this session type can have
Possible values: >= 1 and <= 100
Default value: 4
The number of players that can be on each team
Default value: true
Whether or not a player can change which team they are on. If true, they are able to. If False, they player's team can only be changed by an admin
Default value: true
If players should be notified when they are reserved in this type of session instead of waiting until they're invited
Possible values: [ALL, TEAM, SELF, NONE]
What subset of players any given player will have information about
Possible values: [ALL, TEAM, SELF, NONE]
What subset of players any given player will have information about
Possible values: [ALL, TEAM, SELF, NONE]
What subset of players any given player will have information about
Possible values: [ALL, TEAM, SELF, NONE]
What subset of players any given player will have information about
{
"templates": {}
}
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"
}
]
}