更新时间:2023-06-15 06:01:38
本文介绍修改监控指标的 API。
设备产品监控指标修改,为产品指定需要监控的指标。
PUT: /v1.0/iot-03/si/products/monitor-indicator/{indicator_id}
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
|---|---|---|---|---|
| indicator_id | String | uri | true | 指标ID |
body 说明
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
|---|---|---|---|---|
| indicator_code | String | true | 产品指标 Code | |
| monitor_type | String | true | 监控指标类型
|
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | Boolean | 是否修改成功 |
PUT: /v1.0/iot-03/si/products/monitor-indicator/14****
{
"indicator_code": "swtich****",
"monitor_type": "core_monitor"
}
{
"result": true,
"t": 1635676035800,
"success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈