Constructors

Properties

api: ObservableSessionsApi

Methods

  • Returns a list of Sessions. Returns the latest 10 transaction intents for each session. List session keys of a player.

    Parameters

    • player: string

      The player ID (starts with pla_)

    • Optional limit: number

      Specifies the maximum number of records to return.

    • Optional skip: number

      Specifies the offset for the first records to return.

    • Optional order: SortOrder

      Specifies the order in which to sort the results.

    • Optional expand: "transactionIntents"[]

      Specifies the fields to expand in the response.

    • Optional _options: Configuration

    Returns Promise<SessionListResponse>

  • Retrieves the details of a Session that has previously been created. Returns the latest 10 transaction intents that used this session. Returns a player session by session id

    Parameters

    • id: string

      Specifies the unique session ID (starts with ses_).

    • Optional expand: "transactionIntents"[]

      Specifies the fields to expand.

    • Optional _options: Configuration

    Returns Promise<SessionResponse>