API Method: /api/live/schedule/add
Add a time to the streaming schedule.
Parameters
Parameter | Description |
---|---|
live_id (required) | The ID of the stream. |
start_time (required) | Start time for the schedule. |
end_time | Optional end time for the schedule. |
title | A title for the schedule. |
description | A description for the schedule. |
Permission level
The minimum required permission level is:
read
Example XML Response
<response status="ok" permission_level="write"
message="The time has been added to the schedule" cached="0">
Example JSON Response
{
"status": "ok",
"message":"The time has been added to the schedule",
"liveschedule":{live_schedule_id: 123},
"permission_level":"write",
"cached":"0",
"p": "1",
"size": "1",
"site": { ...},
"endpoint": "/api/live/schedule/add"
}