跳转到主要内容
POST
/
alert
/
info
告警详情
curl --request POST \
  --url 'https://api.flashcat.cloud/alert/info?app_key=' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "alert_id": "<string>"
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "alert_id": "<string>",
    "channel_id": 123,
    "channel_name": "<string>",
    "integration_id": 123,
    "integration_name": "<string>",
    "integration_type": "<string>",
    "title": "<string>",
    "alert_key": "<string>",
    "alert_severity": "Info",
    "alert_status": "Info",
    "start_time": 123,
    "last_time": 123,
    "created_at": 123,
    "updated_at": 123,
    "labels": {},
    "title_rule": "<string>",
    "description": "<string>",
    "end_time": 123,
    "events": [
      {
        "event_id": "<string>",
        "integration_id": 123,
        "channel_id": 123,
        "title": "<string>",
        "title_rule": "<string>",
        "alert_id": "<string>",
        "event_status": "Info",
        "event_severity": "Info",
        "event_time": 123,
        "description": "<string>",
        "labels": {}
      }
    ],
    "incident": {
      "incident_id": "<string>",
      "title": "<string>",
      "progress": "Triggered"
    },
    "event_cnt": 123,
    "ever_muted": true
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string
必填

请求体

application/json
alert_id
string
必填

响应

200 - application/json
error
错误信息 · object

错误信息,仅失败时存在

data
数据对象 · object