Edit a Session Event
Edits an event associated with the session.
Authorizations: Sessions - EDIT
Requests
PUT /apis/sessions/:sessionId/events/:eventId
{
"moduleId": "<sessionID>",
"module": "session",
"startTime": 1592344800,
"duration": 3600,
"type": "weekly-recurring",
"typeData": {
"days": ["TUE", "THU", "SUN"]
},
"command": "set-live",
"parameters": {
"record": true
},
"active": true
}
Response
Success
{
"data": {
"moduleId": "ccf00271-adda-42b4-895f-bb54338fb932",
"module": "session",
"startTime": 1592344800,
"duration": 3600
"type": "weekly-recurring",
"typeData": {
"days": [ "TUE", "THU", "SUN" ]
},
"command": "set-live",
"parameters": { "record": true },
"active": true,
"id": "e808eb59-00c4-4a2e-a0e1-b06a693c7736"
}
}
Error
Code | Payload | Description |
---|---|---|
|
| Supplied data was insufficient or incorrect. |
|
| Session id in API call was not found. |
|
| Event id in API call was not found. |