Last Updated on : 2023-06-15 05:21:11
Get a list of door locks under a specified device with the offline password feature.
GET: /v1.0/devices/{device_id}/offline-pwd-locks
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Parameter name | Type | Description |
---|---|---|
result | List | The list of door locks with an offline password feature for the same home. |
Description of result
Parameter name | Type | Description |
---|---|---|
id | String | The device ID. |
owner_id | String | The ID of the home where a specified device is deployed. The value is a string of digits. |
product_id | String | The product ID. |
status | Boolean | Status. |
name | String | The device name. |
custom_name | String | The custom device name. |
uid | String | The ID of the user who performs device pairing. |
online | Boolean | Indicates whether the device is online. |
icon | String | The device icon. |
GET: /v1.0/devices/6cdb36b2e489885fa57lzm/offline-pwd-locks
{
"result": [
{
"owner_id": "8704463",
"icon": "https://images.tuyacn.com/smart/icon/ay1560263784606RlEWo/9654013a9dce105f0b4580396ce7f2b1.png",
"uid": "ay1576552611051nGD7y",
"custom_name": "",
"product_id": "pr8o1tue",
"name": "New standard Zigbee door lock-vdevo",
"online": true,
"id": "vdevo162346372935455",
"status": true
},
{
"owner_id": "8704463",
"icon": "https://images.tuyacn.com/smart/icon/ay1532920109007NFtqw/a85e9f127c974133f01f846e50134079.png",
"uid": "ay1576552611051nGD7y",
"custom_name": "",
"product_id": "jaatleq0",
"name": "Bluetooth door lock v1.0.8-vdevo",
"online": true,
"id": "vdevo160456524122548",
"status": true
}
],
"t": 1623746312141,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback