PUT /notifications/{id}/read
将指定通知标记为已读状态,记录已读时间 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。
通知服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
通知ID |
Referenced Schemas
dto.MarkReadDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.MarkReadResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.MarkReadResponse
标记已读结果
| Field | Type | Required | Example | Constraints | Description |
marked_count |
integer |
No |
5 |
|
标记数量 |
success |
boolean |
No |
True |
|
成功 |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|