Last Updated on : 2023-06-21 07:13:10download
Query the monitoring metrics that can be set for Tuya product ID.
GET: /v1.0/iot-03/si/products/{tuya_product_id}/indicator-code
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| tuya_product_id | String | uri | true | The product ID. |
| Parameter name | Type | Description |
|---|---|---|
| result | List | The returned result. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| indicator_code | String | The code of a specified metric. |
| indicator_name | String | The name of a specified metric. |
| unit | String | The unit. |
GET: /v1.0/iot-03/si/products/ng****/indicator-code
{
"result": [
{
"indicator_code": "co2_value",
"indicator_name": "Carbon dioxide detection",
"unit": "ppm"
}
],
"t": 1635678811404,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback