GET /admin/communication/platform-stats

返回跨所有租户的通信服务汇总统计,包括总发送量、投递成功率、按渠道和状态的分布。仅限超级管理员访问。参考:ePrivacy Directive 2002/58/EC、CAN-SPAM Act。

通信服务 `bearerAuth` application/json

响应

状态描述Schema
200查询成功,返回平台级汇总仪表盘数据service-communication/internal/handler/dto.CommunicationDashboardDataResponse
400请求参数错误dto.SimpleResponse
401未认证或令牌无效dto.SimpleResponse
403无权访问该资源(仅超级管理员)dto.SimpleResponse
500服务内部错误dto.SimpleResponse

引用的 Schema

dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-communication/internal/handler/dto.CommunicationDashboardDataResponse

字段类型必填示例约束描述
code integer 否
data service-communication/internal/handler/dto.CommunicationDashboardResponse 否
message string 否
timestamp string 否

service-communication/internal/handler/dto.CommunicationDashboardResponse

通信服务各渠道投递统计数据

字段类型必填示例约束描述
by_channel object 否 extra keys: `integer`
by_status object 否 extra keys: `integer`
delivered integer 否 980
delivery_rate number 否 0.98
failed integer 否 20
total_sent integer 否 1000