GET /communication/dashboard
获取当前租户的通信服务各渠道投递统计数据,包括总发送量、成功投递数、失败数、投递成功率,以及按渠道和状态的分布统计。参考:ePrivacy Directive 2002/58/EC、CAN-SPAM Act。
通信服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
days |
query |
integer |
No |
|
|
|
统计天数范围(默认30天) |
Referenced Schemas
dto.CommunicationDashboardDataResponse
dto.CommunicationDashboardResponse
通信服务各渠道投递统计数据
| Field | Type | Required | Example | Constraints | Description |
by_channel |
object |
No |
|
extra keys: `integer` |
|
by_status |
object |
No |
|
extra keys: `integer` |
|
delivered |
integer |
No |
980 |
|
|
delivery_rate |
number |
No |
0.98 |
|
|
failed |
integer |
No |
20 |
|
|
total_sent |
integer |
No |
1000 |
|
|
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|