Autional Autional
API Reference GitHub autional.com →

GET /push/vapid-public-key

Return the Web Push VAPID public key for the frontend to use when registering a push subscription. Reference: CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance.

Notification Service None application/json

Responses

StatusDescriptionSchema
200VAPID public keydto.VapidPublicKeyDetailResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.VapidPublicKeyDetailResponse

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

dto.VapidPublicKeyResponse

Web Push VAPID public key, used by the frontend when registering a push subscription

FieldTypeRequiredExampleConstraintsDescription
public_key string No BEL5Oa... VAPID public key

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No