跳转到主要内容
POST
查询复盘报告列表

限制说明

使用说明

  • 账户所有者和管理员可以看到全部复盘报告;其他成员可以看到公开报告以及自己所在团队的私有报告。
  • 结果按 order_by 排序(默认 created_at_seconds),默认降序,asc 为 true 时升序。
  • 列表只返回元数据;完整内容请通过 GET /incident/post-mortem/info 获取。

授权

app_key
string
query
必填

在 Flashduty 控制台 我的 → APP Key 中创建的 APP Key。可通过 query 参数 app_key 或请求头 Fd-App-Key 传入。实际可访问范围是该 APP Key 的权限范围与创建者当前角色权限的交集,请妥善保管。

请求体

application/json

查询复盘报告列表的过滤条件。

status
enum<string>

可选的复盘状态过滤:drafting 仅返回草稿,published 仅返回已发布。缺省时返回全部状态的复盘。

可用选项:
drafting,
published
team_ids
integer<int64>[]

限定查询的团队 ID。

channel_ids
integer<int64>[]

限定查询的协作空间 ID。

created_at_start_seconds
integer<int64>

复盘创建时间下界(Unix 秒)。

必填范围: x >= 0
created_at_end_seconds
integer<int64>

复盘创建时间上界(Unix 秒)。

必填范围: x >= 0
order_by
enum<string>
默认值:created_at_seconds

排序字段:created_at_seconds 按创建时间,updated_at_seconds 按最后更新时间。

可用选项:
created_at_seconds,
updated_at_seconds
asc
boolean

true 为升序。

p
integer<int64>

页码,从 1 开始。

必填范围: x >= 0
limit
integer<int64>
默认值:20

分页大小,最大 100。 按页码翻页时,p × limit 不能超过 10,000。

必填范围: 0 <= x <= 100
search_after_ctx
string

上一次响应返回的翻页游标。

响应

成功

成功响应结构。2xx 响应中 request_id 标识本次调用(同时出现在 Flashcat-Request-Id 响应头中),data 为接口业务 payload。失败响应使用不同结构,参见 ErrorResponse。

request_id
string
必填

本次请求的唯一 ID,也会在 Flashcat-Request-Id 响应头中返回。反馈问题时请一并附上。

示例:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object

复盘报告分页列表。