更新时间:2023-06-21 07:13:11下载pdf
本文介绍新增监控指标的 API。
设备产品监控指标新增,为产品指定需要监控的指标。
POST: /v1.0/iot-03/si/products/{tuya_product_id}/monitor-indicator
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
|---|---|---|---|---|
| tuya_product_id | String | uri | true | 涂鸦产品 ID |
body 说明
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
|---|---|---|---|---|
| indicator_code | String | true | 产品指标 Code | |
| monitor_type | String | true | 监控指标类型
|
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | Boolean | 成功或者失败 |
POST: /v1.0/iot-03/si/products/pn****/monitor-indicator
{
"indicator_code": "swtich****",
"monitor_type": "core_monitor"
}
{
"result": true,
"t": 1635498361848,
"success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈