Get All Platform Session Templates
GET/v1/sandbox/:sandbox_id/session-template/:session_template_id/platform-session-template
Get all Platform Session Templates in a specific sandbox
Requires any of permissions: sandbox:config:view, sandbox:config:edit
Request
Path Parameters
Sandbox ID
Query Parameters
Possible values: >= 1 and <= 10000
Default value: 50
The maximum number of elements to be returned per call
Possible values: non-empty and <= 128 characters
Default value: 0
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
platform_session_templates
object[]
required
A list of platform session templates
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
Possible values: non-empty and <= 128 characters
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
{
"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"
}
],
"cursor": "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"
}
]
}