GET /push/vapid-public-key
返回 Web Push VAPID 公钥,供前端注册 Push 订阅时使用(来源:communication-service) 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。
通知服务 None application/json
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-notification/internal/handler/dto.VapidPublicKeyDetailResponse
service-notification/internal/handler/dto.VapidPublicKeyResponse
Web Push VAPID 公钥,前端注册 Push 订阅时使用
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
public_key |
string |
否 |
BEL5Oa... |
|
VAPID 公钥 |