set-auto-rec
Added at V2.1
Use this interface to set automatic recording.
HTTP Request
GET http://ip/usapi?method=set-auto-rec&is-auto=1&trigger-mode=0
Parameter | Description |
---|---|
method | set-auto-rec |
is-auto | 0: disable automatic recording 1: enable automatic recording |
trigger-mode | Set trigger for automatic recording. Refer to API Status Codes to find specific parameter values. |
Response Body
{
"result": 0
}
Item | Description |
---|---|
result | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |