查询事件告警统计

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求头

该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

请求语法

POST /mobile/api/incident/listIncidentSourceEventStatistics HTTP/1.1

请求参数

名称 类型 位置 是否必选 示例值 描述
Object Body

A short description of struct

requestId String Body xxxx

请求ID

返回数据

名称 类型 示例值 描述
requestId String xxxxx

Id of the request

data Array of 事件告警统计

事件告警统计

todayAlertCount Long 10

今日累计告警量

monitorSourceName String zabbix

监控源名字

dayAlertSequential String 1/3

日告警环比

hourAlertSequential String 1/6

小时告警环比

示例

请求示例

POST /mobile/api/incident/listIncidentSourceEventStatistics HTTP/1.1
Host:gemp.aliyuncs.com
Content-Type:application/json

{
  "requestId" : "xxxx"
}

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<ListIncidentSourceEventStatisticsResponse>
    <requestId>xxxxx</requestId>
    <data>
        <todayAlertCount>10</todayAlertCount>
        <monitorSourceName>zabbix</monitorSourceName>
        <dayAlertSequential>1/3</dayAlertSequential>
        <hourAlertSequential>1/6</hourAlertSequential>
    </data>
</ListIncidentSourceEventStatisticsResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "requestId" : "xxxxx",
  "data" : [ {
    "todayAlertCount" : 10,
    "monitorSourceName" : "zabbix",
    "dayAlertSequential" : "1/3",
    "hourAlertSequential" : "1/6"
  } ]
}

错误码

访问错误中心查看更多错误码。

访问错误中心查看更多错误码。