Webhook

重试当前版本的失败投递

POST /api/webhooks/endpoints/{id}/deliveries/{deliveryId}/retry
POST/api/webhooks/endpoints/{id}/deliveries/{deliveryId}/retry

要求 Cookie、CSRF、owner 与 api-token 强验证。仅当前端点版本的 failed 可重置为 pending;端点/应用/订阅及普通事件的当前公开代次均须有效。成功表示重置待发送,不表示接收端已接收。

网站 Cookie 会话 + CSRF + 二次验证(api-token,300 秒);请在同源网站环境调用

路径参数

idstring必填

长度 ≥ 1

deliveryIdstring必填

长度 ≥ 1

请求体 必填

application/json

返回值

成功;无额外 data 信封。

successboolean必填
可选值true

响应头

Cache-Controlstring可选
可选值"no-store"
接口信息

接口: POST /api/webhooks/endpoints/{id}/deliveries/{deliveryId}/retry
operationId: retryWebhookDelivery

要求 Cookie、CSRF、owner 与 api-token 强验证。仅当前端点版本的 failed 可重置为 pending;端点/应用/订阅及普通事件的当前公开代次均须有效。成功表示重置待发送,不表示接收端已接收。

参数:

  • path id(必填)
  • path deliveryId(必填)