Home / Docs Center / Device API Reference / Scheduled SnapshotParameter Config
Scheduled SnapshotParameter Config
Project: Device API Documentation (New) | page_id: 377
Brief Description:
- Scheduled snapshot, view images locally, scheduled image upload, batch configuration supported
Request URL:
- /xsw/set_snap
Request Method:
- POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| data | Yes | array | Modification parameter array, batch configuration supported |
| data.channelId | Yes | number | Channel number, starting from 1 |
| data.enable | Yes | number | Snapshot switch, 0 disabled, 1 enabled |
| data.interval | Yes | number | Snapshot interval (in seconds) |
| data.uploadEnable | Yes | number | Snapshot upload switch, 0 disabled, 1 enabled |
| data.uploadUrl | Yes | string | Snapshot upload address |
Request Example
- Body parameter example
{
"data": [{
"channelId": 2,
"enable": 1,
"interval": 300,
"uploadEnable": 0,
"uploadUrl": "http://192.168.0.190/upload"
}, {
"channelId": 3,
"enable": 0,
"interval": 400,
"uploadEnable": 1,
"uploadUrl": ""
}]
}
Response Example
{
"code": 0,
"msg": "",
}
Didn't find what you need?Contact us,Talk to our engineers directly.