Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 667 Bytes

channel-session.md

File metadata and controls

51 lines (35 loc) · 667 Bytes

session sandbox API channel

[100] Load session data

Request:

{
    "sessionId": "123456789"
}

sessionId ID of the session to load. If no such session exists, empty object should be responded with

Response:

{
    "sessionData": { ... }
}

sessionData JSON object containing the session data

[200] Store session data

Request:

{
    "sessionId": "123456789",
    "lifetime": 3600,
    "sessionData": { ... }
}

sessionId ID of the stored session lifetime lifetime for the session in seconds sessionData the actual data as a JSON object

Response:

{
}

Empty JSON object