Last Updated on : 2023-06-20 14:54:10
Query the function pool supported by a specified device based on the device ID.
GET: /v1.0/expand/devices/{device_id}/function-pool
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
function_code | String | The data point. |
function_name | String | The name of a data point. |
GET: /v1.0/expand/devices/6ce****/function-pool
{
"result": [
{
"function_code": "tyabinmc7h",
"function_name": "Face recognition"
},
{
"function_code": "tyabirdc5c",
"function_name": "QR code"
}
],
"t": 1551851043862,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback