Last Updated on : 2023-06-15 05:23:04
Query a list of data points supported by a specified device based on the device ID.
GET: /v1.0/expand/devices/{device_id}/functions
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****/functions
{
"result": [
{
"function_code": "tyabinmc7h",
"function_name": "Face recognition"
}
],
"t": 1551851043862,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback