Last Updated on : 2023-06-21 07:13:10
Query historical data charts of alerts.
GET: /v1.0/si/iot-03/alarm-statistics/chart
| Parameter name | Type | IN | Required | Description | 
|---|---|---|---|---|
| monitor_object_type | String | query | true | The type of a specified monitored object. Valid values: 
 | 
| start_time | Long | query | true | The start time. | 
| end_time | Long | query | true | The end time. | 
| Parameter name | Type | Description | 
|---|---|---|
| result | List | The returned result. | 
Description of result
| Parameter name | Type | Description | 
|---|---|---|
| time | Long | The time. | 
| low_level_num | Integer | The number of low-level alerts. | 
| high_level_num | Integer | The number of high-level alerts. | 
GET: /v1.0/si/iot-03/alarm-statistics/chart?monitorObjectType=vibration&startTime=1639191477000&endTime=1639623477898
{
    "result": [
        {
            "high_level_num": 1,
            "low_level_num": 4,
            "time": 1639324800000
        },
        {
            "high_level_num": 1,
            "low_level_num": 1,
            "time": 1639411200000
        }
    ],
    "t": 1639623535940,
    "success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback