API 参考回调端点
回调端点
管理目标 Webhook 地址、请求头、超时、过滤条件和重试策略绑定。
Endpoint 是投递目标:回调 URL、HTTP 方法、请求头、超时、签名密钥、重试策略和可选事件订阅。
回调端点
它在投递链路中的位置
Endpoint 是投递目标,包含 URL、方法、请求头、超时、过滤条件和重试策略。
记住这个区别
事件过滤留空表示接收全部事件;可用 `order.*` 等模式限制 fan-out。
这些接口由 edgecron/docs/openapi.json 生成,并遵循 EdgeCron 统一响应信封。
| 方法 | 接口 | 说明 |
|---|---|---|
| POST | /endpoints | 创建端点 |
| GET | /endpoints | 列出端点 |
| GET | /endpoints/{id} | 获取端点 |
| PATCH | /endpoints/{id} | 更新端点 |
| DELETE | /endpoints/{id} | 删除端点 |
| POST | /endpoints/{id}/enable | 启用端点 |
| POST | /endpoints/{id}/disable | 禁用端点 |