Webhook
查看投递记录
GET /api/webhooks/endpoints/{id}/deliveries
GET
/api/webhooks/endpoints/{id}/deliveries只接受当前网站 Cookie 会话并检查 owner。PAT/OAuth access 不可调用。
网站 Cookie 会话;请在同源网站环境调用
路径参数
idstring必填长度 ≥ 1
查询参数
limitinteger可选默认值 20≥ 1 · ≤ 50
cursorstring可选原样传回上页 nextCursor,不解析或构造。
长度 ≤ 1000
返回值
成功;无额外 data 信封。
itemsobject[]必填
itemsobject[]必填idstring必填eventIdstring必填eventTypestring必填可选值
"release.published""release.updated""release.withdrawn""knowledge.published""knowledge.updated""knowledge.page.published""knowledge.page.updated""knowledge.page.withdrawn""knowledge.withdrawn""knowledge.archived""knowledge.restored"releaseIdstring | null必填resourceIdstring | null必填targetKindstring可选可选值
"knowledge_base"knowledgeBaseIdstring可选pageIdstring | null可选statusstring必填可选值
"pending""sending""succeeded""failed""cancelled"attemptsinteger必填≥ 0
httpStatusinteger | null必填lastErrorstring | null必填createdAtstring必填格式:date-time
availableAtstring必填格式:date-time
finishedAtstring | null必填格式:date-time
hasMoreboolean必填nextCursorstring | null必填响应头
Cache-Controlstring可选可选值
"no-store"接口信息
接口: GET /api/webhooks/endpoints/{id}/deliveries
operationId: listWebhookDeliveries
只接受当前网站 Cookie 会话并检查 owner。PAT/OAuth access 不可调用。
参数:
pathid(必填)querylimitquerycursor:原样传回上页 nextCursor,不解析或构造。