Last Updated on : 2023-06-15 06:01:46
Add a monitoring metric for a specified device.
POST: /v1.0/iot-03/si/products/{tuya_product_id}/monitor-indicator
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| tuya_product_id | String | uri | true | The ID of a Tuya product. |
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| indicator_code | String | true | The code of a specified metric. | |
| monitor_type | String | true | The type of a specified metric.
|
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | Indicates whether the operation is successful. |
POST: /v1.0/iot-03/si/products/pn****/monitor-indicator
{
"indicator_code": "swtich****",
"monitor_type": "core_monitor"
}
{
"result": true,
"t": 1635498361848,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback