Home / Docs Center / Platform API / Batch Config

Batch Config

Platform API · Custom Device Management

Project: Platform API | page_id: 105

Brief Description:

  • Device batch configuration API

Request URL:
- /setting

Request Method:
- POST

Body Parameters:

Parameter Required Type Description
ids Yes [string] Serial number id array (comma separated)
username Yes string Device remote login username
password Yes string Device remote login password
channel No [int] Channels to configure, starting from 0
rtsp_username No string RTSP username
rtsp_password No string RTSP password
rtsp_uri No string RTSP URL
rtsp_enable No int rtsp disabled (==0) enabled (==1)
rtmp_publish_uri No string RTMP publish address 1
rtmp_enable No int RTMP publish address 1 disabled (==0) enabled (==1)
recordEnable No int Recording disabled (==0) enabled (==1)

Request Example

  {
    "ids": ["1","2","3"],
    "username": "admin",
    "password": "admin",
    "channel": [0,1],
    "rtmp_enable": 0
  }

Response

    {
        "1":"Device does not exist or is offline",
        "2":"Device does not exist or is offline",
        "3":"ok"
    }

Notes

-

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.