POST /internal/notification/push/send
向指定用户的设备发送 VAPID 签名的 Web Push 通知消息(内部API) 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。
通知服务 - 内部接口 None application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
X-Tenant-ID |
header |
string |
Yes |
|
|
|
租户ID |
Request Body
Schema: dto.InternalPushSendRequest
| Field | Type | Required | Example | Constraints | Description |
body |
string |
Yes |
Login from Beijing - Approve? |
|
|
title |
string |
Yes |
New Login Attempt |
|
|
data |
object |
No |
|
|
|
user_id |
string |
No |
user-001 |
|
|
Referenced Schemas
dto.PushSendDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.PushSendResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.PushSendResponse
| Field | Type | Required | Example | Constraints | Description |
failed |
integer |
No |
0 |
|
|
sent |
integer |
No |
3 |
|
|
total |
integer |
No |
3 |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|