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

授权

app_key
string
query
必填

请求体

application/json
alert_id
string
p
integer

页码,从1开始

limit
integer

分页条数

asc
boolean

是否升序

types
enum<string>[]
可用选项:
a_new,
a_update,
a_close,
a_comm,
a_merge,
a_m_silence,
a_m_inhibit

响应

200 - application/json
error
object

错误信息,仅失败时存在

data
object