Get Player Sessions Self
GET/session/v1/player/me/session
Get all session IDs associated with the token's player. NOTE This list is eventually consistent with the data from the session by ID endpoints.
Required Auth Permissions: session:read-player:self
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
sessions
object
Session associated with this player, and any pending invites
property name*
PlayerSession
Information about the sessions of a specific type that a player is currently a member of, or invited to
template type
Possible values: non-empty and <= 128 characters
Default value: ``
Sessions the player is currently a part of for this session type, if any.
pending_invites
object
Pending invites, if any, for the current player in this session type
property name*
PlayerSessionInvite
Information about an invite to a session that a player received
Possible values: non-empty and <= 128 characters
Session ID for the invite
Player who sent the invite
Possible values: non-empty and <= 128 characters
Default value: ``
Sessions that the player has a reserved place in, but has not yet been invited
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
{
"sessions": {},
"last_updated_timestamp": "2024-07-29T15:51:28.071Z"
}
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"
}
]
}