Get Platform Session Info
GET/session/v1/platform/:platform/platform-session/:platform_session_id_base64
Get information about a platform session
Required Permissions:
- For any player (including themselves) any of:
session:*,session:read:platform
Required Session Permissions: SessionPermissions.active_in_session for users that do not have the session:read:any auth permission
Request
Path Parameters
Possible values: [Anon, Basic, XboxLive, PSN, NintendoNAID, NintendoSwitch, NintendoPPID, Google, GooglePlay, Apple, Epic, Steam, Amazon, Twitch, RallyHere, LegacyName]
Possible values: non-empty and <= 4096 characters
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
- 404
- 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
Array [
]
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: non-empty and <= 4096 characters
Platform session's unique identifier
players
object[]
required
DEPRECATED. PlatformSessions no longer keep tracking of players. Players in the platform session
Player ID representing the current player
Player UUID representing the current player
Is this player the leader of the platform session? When setting up the parent session, if all players are from the same platform session, leadership is coordinated
custom_data
object
Product defined custom data fields about the platform session
{
"platform": "Anon",
"platform_session_type": "string",
"platform_session_id_base64": "string",
"players": [
{
"player_id": 0,
"player_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"leader": false
}
],
"custom_data": {}
}
User is not authenticated, or does not have sufficient role access to perform request
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Platform Session or Platform Player doesn't exist. See error code for more info
- 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"
}
]
}