Session
The session payload.
The user should ideally have one session for every client they have on every device.
Field | Type | Description |
---|---|---|
id | Number | The session’s ID. |
user_id | Number | The session user’s ID. |
platform | String | The session’s platform (linux, windows, mac, etc.) |
client | String | The client the session was created by. |
ip | IpAddr | The session’s creation IP address. |
Example
{
"id": 2312155037697,
"user_id": 2312155693057,
"platform": "linux",
"client": "pilfer",
"ip": "127.0.0.1"
}