enable-scheduler
Use this interface to enable a scheduler.
HTTP Request
GET http://ip/usapi?method=enable-scheduler&id=1&is-use=1&...
| Parameter | Description |
|---|---|
| method | enable-scheduler |
| id | Scheduler ID which can be obtained via get-schedulers. |
| chn-type | Channel type. 0: live channel 1: record channel 2: auto-reboot |
| chn-id | -1, reserved. |
| is-use | 0: disable a scheduler. 1: enable a scheduler. |
Response Body
{
"result": 0
}
| Item | Description |
|---|---|
| result | Returned status. 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |