Last Updated on : 2023-12-07 03:34:02download
Set special attributes of unlocking methods such as photo capturing and semantics.
POST: /v1.0/smart-lock/devices/{device_id}/opmodes/{opmode_id}/attribute/{attribute}/opmode-attr
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
opmode_id | Long | uri | true | The serial number of a specified unlocking method. |
attribute | Integer | uri | true | The attribute of a specified unlocking method. Valid values:
|
Parameter name | Type | Description |
---|---|---|
result | Boolean | The operation result. |
POST: /v1.0/smart-lock/devices/vdevo12454656****/opnodes/1234/attribute/4/opmode-attr
{
"result": true,
"t": 1634611772347,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback