POST api/Video/SetCamParm?gatewayId={gatewayId}
设置网关视频参数
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| gatewayId |
网关ID |
string |
Required |
Body Parameters
SetCamParmReq| Name | Description | Type | Additional information |
|---|---|---|---|
| motion_blob | integer |
None. |
|
| static_time | integer |
None. |
|
| detect_type | integer |
None. |
|
| sensitivity | integer |
None. |
|
| record_time | integer |
None. |
|
| motion_draw | integer |
None. |
|
| motion_times_rang | Collection of Motion_times_rang |
None. |
Request Formats
application/json, text/json
Sample:
{
"motion_blob": 1,
"static_time": 1,
"detect_type": 1,
"sensitivity": 1,
"record_time": 1,
"motion_draw": 1,
"motion_times_rang": [
{
"start": "sample string 1",
"end": "sample string 2"
},
{
"start": "sample string 1",
"end": "sample string 2"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResultOfJToken| Name | Description | Type | Additional information |
|---|---|---|---|
| result | Collection of Object |
None. |
|
| isSuccess | boolean |
None. |
|
| code | string |
None. |
|
| errorMsg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": null,
"isSuccess": true,
"code": "sample string 2",
"errorMsg": "sample string 3"
}