回调投递日志
构建时从公开 REST 接口定义的 `webhooks` 标签生成:方法、路径、参数、请求体、响应与 curl。
分组概览
本页由公开 REST 接口定义在构建时生成:标签 webhooks,共 1 个操作(全量 189 个)。鉴权、信封与分页约定见 REST API 总览.
| 方法 | 路径 | 摘要 |
|---|---|---|
GET | /v1/webhook/deliveries | List callback deliveries |
操作详情
GET /v1/webhook/deliveries
List callback deliveries
鉴权:项目凭证(customerId:customerSecret 的 Base64)
响应
| 状态码 | 说明 / schema |
|---|---|
200 | deliveries — object{ total, deliveries } |
调用示例
curl -s -X GET "$NIMEET_API_BASE/v1/webhook/deliveries" \
-H "Authorization: Basic $NIMEET_CUSTOMER_BASIC"本分组用到的 Schema
WebhookDelivery — object
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
id | string | 是 | |
projectId | string | 是 | |
envelope | object{ noticeId, productId, eventType, notifyMs, sid, payload } | 是 | |
url | string | 是 | |
state | enum(pending | delivering | delivered | failed | dropped) | 是 | |
attempts | integer | 是 | |
maxAttempts | integer | 是 | |
nextAttemptAt | string | null | 是 | format date-time |
lastStatusCode | integer | null | 是 | |
lastError | string | null | 是 | |
createdAt | string | 是 | format date-time |
updatedAt | string | 是 | format date-time |