Add Platform Session To Rally Here Session
POST/session/v1/platform/:platform/platform-session/:platform_session_id_base64/session/:session_id
Add a platform session to an existing RallyHere session. The requesting player will be added to the platform session
Required Permissions:
- For any player (including themselves) any of:
session:*,session:update:platform
Required Session Permissions: SessionPermissions.active_in_session for users that do not have the session:update: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
Possible values: non-empty and <= 128 characters
Query Parameters
Default value: true
Responses
- 200
- 403
- 404
- 422
- 503
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"
}
]
}
Service was unable to fulfill the request at this time and should be retried after the Retry-After wait time
Response Headers
Retry-After
integer
Number of seconds after which to retry the request
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}