GET /admin/tenants/{id}/webhooks/{hook_id}/stats
获取 Webhook 投递统计数据(成功率、平均延迟、失败原因分布)
租户服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
租户ID |
hook_id |
path |
string |
Yes |
|
|
|
Webhook ID |
Referenced Schemas
dto.WebhookDeliveryStatsDetailResponse
dto.WebhookDeliveryStatsResponse
| Field | Type | Required | Example | Constraints | Description |
avg_duration_ms |
number |
No |
120.5 |
|
|
fail_count |
integer |
No |
50 |
|
|
pending_count |
integer |
No |
0 |
|
|
success_count |
integer |
No |
950 |
|
|
success_rate |
number |
No |
95 |
|
|
total_count |
integer |
No |
1000 |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|