更新时间:2023-12-07 03:34:02下载pdf
本文介绍解锁方式设置特殊属性的 API。
解锁方式设置拍照、语义等特殊属性。
POST: /v1.0/smart-lock/devices/{device_id}/opmodes/{opmode_id}/attribute/{attribute}/opmode-attr
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
|---|---|---|---|---|
| device_id | String | uri | true | 设备 ID |
| opmode_id | Long | uri | true | 解锁方式序号 |
| attribute | Integer | uri | true | 属性
|
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | Boolean | 操作结果 |
POST: /v1.0/smart-lock/devices/vdevo12454656****/opnodes/1234/attribute/4/opmode-attr
{
"result": true,
"t": 1634611772347,
"success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈