Home / Docs Center / Device API Reference / Scheduled SnapshotParameter Query

Scheduled SnapshotParameter Query

Device API Reference · New API

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.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.