Last Updated on : 2023-12-07 03:34:01download
This API is triggered when the user enters the member list or the hardware unlocking method list, or manually taps the button. The cloud will send a notification to the device, allowing the device to report all the data of one or more unlocking methods. For example, all fingerprints of a door lock are reported. The cloud compares the reported data with existing records and saves the differential data.
POST: /v1.0/smart-lock/devices/{device_id}/opmodes/actions/sync
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
codes | String | query | true | The unlocking methods, separated with commas (,). Valid values:
|
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. |
POST: /v1.0/smart-lock/devices/vdevo12454656****/opmodes/actions/sync
{
"codes": "unlock_fingerprint,unlock_password"
}
{
"result": "true",
"t": 1628487153553,
"success": false
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback