获取设备指定输出口信息
GET
https://api2.hik-cloud.com/api/v1/community/superBrains/actions/getIOOutputPortInfo
https://api2.hik-cloud.com/api/v1/community/superBrains/actions/getIOOutputPortInfo
功能描述
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/community/superBrains/actions/getIOOutputPortInfo?deviceId&ioPortID' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{}'
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"ioPortID": 2,
"name": "",
"powerOnState": {
"defaultState": "low",
"outputState": "pulse",
"pulseDuration": 5000
}
}
}
请求参数
Query 参数
deviceId
string
设备ID
ioPortID
string
IO端口ID
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json
返回响应
修改于 2022-05-30 08:36:10