Set IPC Parameters

555

# Set IPC Parameters

Path:

/api/cameraconfig

Method: PUT

Content-type: application/json; charset=utf-8

API Description: This can be used to set the IPC parameters, including image and account.

Request

Name Type Example Description
exposure int 10 IPC exposure, ranging from -12 to 12.
whitebalance String "1" White balance. 0: Auto. 1: Fluorescent; 3: Incandescent; 6: Daylight; 7: Cloudy.
size String "200*200" Size of photo taken by the cloud camera (length×width).
interval int 5 Update interval of IPC image. Unit: second.
auto_upload int 1 Indicate if the image is reported automatically. 1: yes; 0: no.
quality int 80 Image quality, ranging from 0 to 100.
ip String "192.168.1.83" IP address of the IPC.
username String "admin" Username of the IPC.
password String "123456" Password of the IPC.

Example

{
    "exposure":10,
    "whitebalance":"1",
    "size":"200*200",
    "interval":5,
    "auto_upload":1,
    "quality":8,
    "ip":"192.168.1.83",
    "username":"asd",
    "password":"qwe"
}