POST /notifications/public/security-subscribe

Trust Center: 公开订阅安全公告和合规更新(无认证) 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。

合规管理 - Trust Center None application/json

请求体

Schema: service-notification/internal/handler/dto.SecuritySubscribeRequest

字段类型必填示例约束描述
email string 是 security@example.com
captcha_provider string 否
captcha_token string 否
company string 否 Example Inc
topics array of

string

否 ['["security_advisory"', '"compliance_update"]']

响应

引用的 Schema

service-core/base/dto.SimpleResponse

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

service-notification/internal/handler/dto.SecuritySubscribeDetailResponse

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

service-notification/internal/handler/dto.SecuritySubscribeResponse

字段类型必填示例约束描述
message string 否 确认邮件已发送
status string 否 pending_confirmation