Retrieve IPC Parameters
# Retrieve IPC Parameters
Path:
/api/cameraconfig.json
Method: GET
Content-type: application/json; charset=utf-8
API Description: This can be used to set the IPC parameters, including image and account.
Response
| 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
{
"code":200,
"data":{
"auto_upload":1,
"exposure":10,
"interval":5,
"ip":"192.168.1.83",
"password":"qwe",
"quality":8,
"size":"200*200",
"username":"asd",
"whitebalance":"1"
},
"msg":"200 success"
}