跳转到主要内容
POST
/
incident
/
feed
故障时间线
curl --request POST \
  --url 'https://api.flashcat.cloud/incident/feed?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "incident_id": "<string>",
  "types": [
    "i_comm"
  ],
  "p": 123,
  "limit": 123,
  "asc": true
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "items": [
      {
        "created_at": 123,
        "creator_id": 123,
        "type": "i_comm",
        "detail": {
          "comment": "<string>"
        }
      }
    ]
  }
}

授权

app_key
string
query
必填

请求体

application/json
incident_id
string
必填

故障ID

types
enum<string>[]

操作记录类型列表

操作类型

可用选项:
i_comm,
i_notify,
i_new,
i_assign,
i_a_rspd,
i_ack,
i_unack,
i_snooze,
i_wake,
i_rslv,
i_reopen,
i_merge,
i_m_silence,
i_m_inhibat,
i_m_flapping,
i_storm,
i_r_rc,
i_r_desc,
i_r_rsltn,
i_r_resp,
i_r_impact,
i_r_title,
i_r_severity,
i_r_field,
i_custom
p
integer

页码,从1开始

limit
integer

分页条数

asc
boolean

是否升序

响应

200 - application/json
error
object

仅出现错误时返回

data
object

响应数据