A AuthMS API Wiki API Reference iam.tianv.com →

GET /announcements/{id}/stats

获取指定公告的阅读/送达统计数据 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。

通知服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 公告ID

Responses

StatusDescriptionSchema
200统计结果dto.AnnouncementStatsDetailResponse
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证gitee_com_linmes_authms_base_dto.SimpleResponse
403权限不足gitee_com_linmes_authms_base_dto.SimpleResponse
404资源未找到gitee_com_linmes_authms_base_dto.SimpleResponse
500服务内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.AnnouncementStatsDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.AnnouncementStatsResponse No
message string No
timestamp string No

dto.AnnouncementStatsResponse

公告阅读统计

FieldTypeRequiredExampleConstraintsDescription
dismissals integer No 5
views integer No 100

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No