Interface Session

The session payload.

The user should ideally have one session for every client they have on every device.


Example

{
"id": 2312155037697,
"user_id": 2312155693057,
"platform": "linux",
"client": "pilfer"
}

Hierarchy

  • Session

Properties

Properties

client: string

The client the session was created by.

id: number

The session's ID.

ip: string

The session's creation IP address.

platform: string

The session's platform (linux, windows, mac, etc.)

user_id: number

The session user's ID.