Skip to content

Get Player Sessions

Deprecated
GET
/session/v1/player/id/{player_id}/session

Get Sessions associated with a player by id

Required Permissions:

  • For any player (including themselves) any of: session:read-player:any, session:*

  • For the player themselves : session:read-player:self

Required Session Permissions: None

DEPRECATED - Use player endpoint instead

Authorizations

Parameters

Path Parameters

player_id
required
integer

Responses

200

Successful Response

Information about all sessions that a player is currently a member of, or invited to

object
sessions

Session associated with this player, and any pending invites

object
key
additional properties

Information about the sessions of a specific type that a player is currently a member of, or invited to

object
type
required

Template type

string
session_ids

Sessions the player is currently a part of for this session type, if any.

Array<string>
default: unique items
pending_invites

Pending invites, if any, for the current player in this session type

object
key
additional properties

Information about an invite to a session that a player received

object
session_id
required

Session ID for the invite

string
>= 1 characters <= 128 characters
inviting_player_uuid

Player who sent the invite

string format: uuid
last_updated_timestamp

Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone

string format: date-time

403

Forbidden

object
auth_success
boolean
default: true
error_code
required
string
desc
required
string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string