Home / Docs Center / Device API Reference / Scheduled SnapshotParameter Query
Scheduled SnapshotParameter Query
Project: Device API Documentation (New) | page_id: 378
Brief Description:
- Scheduled snapshot, view images locally, scheduled image upload, batch query supported
Request URL:
- /xsw/get_snap
Request Method:
- POST,GET
URL Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| channels | No | string | Empty or -1 to query all channels. To query multiple specified channels, separate them with underscores |
** Request Example **
http://192.168.0.198:8081/get_snap?channels=1_2_3
Response 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 Parameter Description
| Parameter | Type | Description |
|---|---|---|
| channelId | number | Channel number, starting from 1 |
| enable | number | Snapshot switch, 0 disabled, 1 enabled |
| interval | number | Snapshot interval (in seconds) |
| uploadEnable | number | Snapshot upload switch, 0 disabled, 1 enabled |
| uploadUrl | string | Snapshot upload address |
Didn't find what you need?Contact us,Talk to our engineers directly.