跳转到主要内容
POST
/
incident
/
post-mortem
/
list-published
获取已发布的故障复盘列表
curl --request POST \
  --url 'https://api.flashcat.cloud/incident/post-mortem/list-published?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "incident_commander_ids": [
    123
  ],
  "created_at_start_seconds": 123,
  "created_at_end_seconds": 123,
  "orderby": "created_at_seconds",
  "asc": true,
  "p": 123,
  "limit": 123
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "items": [
      {
        "status": "drafting",
        "meta": {
          "account_id": 123,
          "incident_id": "<string>",
          "created_at_seconds": 123,
          "updated_at_seconds": 123
        },
        "basics": {
          "post_mortem_title": "<string>",
          "incident_severity": "<string>",
          "incident_start_time_seconds": 123,
          "incident_duration_seconds": 123,
          "incident_commander_id": 123,
          "incident_end_time_seconds": 123,
          "incident_responder_ids": [
            123
          ]
        },
        "summary": {
          "content": "<string>",
          "status": "drafting"
        },
        "timeline": {
          "events": [
            {
              "event_id": "<string>",
              "source": "feed",
              "source_ref": "<string>",
              "at_seconds": 123,
              "event_time_seconds": 123,
              "detail": {}
            }
          ],
          "status": "drafting"
        },
        "impact": {
          "content": "<string>",
          "status": "drafting"
        },
        "contributors": {
          "content": "<string>",
          "status": "drafting"
        },
        "root_cause": {
          "content": "<string>",
          "status": "drafting"
        },
        "mitigators": {
          "content": "<string>",
          "status": "drafting"
        },
        "learnings_and_risks": {
          "content": "<string>",
          "status": "drafting"
        },
        "follow_ups": {
          "follow_ups": [
            {
              "follow_up_id": "<string>",
              "title": "<string>",
              "participant_ids": [
                123
              ],
              "description": "<string>"
            }
          ]
        }
      }
    ],
    "has_next_page": true,
    "total": 123,
    "search_after_ctx": "<string>"
  }
}

授权

app_key
string
query
必填

请求体

application/json
incident_commander_ids
integer[]

故障指挥官ID列表

created_at_start_seconds
integer

创建时间起始(秒级时间戳)

created_at_end_seconds
integer

创建时间结束(秒级时间戳)

orderby
enum<string>

排序字段

可用选项:
created_at_seconds,
updated_at_seconds
asc
boolean

是否升序,默认降序

p
integer

页码,从1开始,不传默认为1

limit
integer

分页条数,不传默认为20

响应

200 - application/json
error
object

错误信息,仅失败时存在

data
object