跳转到主要内容
POST
/
incident
/
list-by-ids
故障
curl --request POST \
  --url 'https://api.flashcat.cloud/incident/list-by-ids?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "incident_ids": [
    "<string>"
  ]
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "items": [
      {
        "incident_id": "<string>",
        "start_time": 123,
        "end_time": 123,
        "last_time": 123,
        "snoozed_before": 123,
        "incident_status": "Info",
        "incident_severity": "Info",
        "progress": "Triggered",
        "creator_id": 123,
        "title": "<string>",
        "num": "<string>",
        "ack_time": 123,
        "close_time": 123,
        "closer_id": 123,
        "assigned_to": {
          "type": "assign",
          "person_ids": [
            123
          ],
          "escalate_rule_id": "<string>",
          "escalate_rule_name": "<string>",
          "layer_idx": 123
        },
        "responders": [
          {
            "person_id": 123,
            "assigned_at": 123,
            "acknowledged_at": 123
          }
        ],
        "alert_cnt": 123,
        "description": "<string>",
        "impact": "<string>",
        "root_cause": "<string>",
        "resolution": "<string>",
        "labels": {},
        "channel_id": 123,
        "channel_name": "<string>",
        "integration_ids": [
          123
        ],
        "integration_types": [
          "<string>"
        ],
        "dedup_key": "<string>",
        "group_method": "i",
        "ever_muted": true,
        "frequency": "rare",
        "images": [
          {
            "alt": "<string>",
            "src": "<string>",
            "href": "<string>"
          }
        ]
      }
    ]
  }
}

授权

app_key
string
query
必填

请求体

application/json
incident_ids
string[]
必填

故障ID列表

响应

200 - application/json
error
object

仅出现错误时返回

data
object

响应数据