No description available.
Output
Encoding
application/jsonpublicKey
string
Required
Base64url encoded uncompressed P-256 VAPID public key.
Errors
PushUnavailable
Web Push is not configured. ConsentRequired
The authenticated member must accept Terms and Privacy Policy and confirm age. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"errors": [
{
"description": "Web Push is not configured.",
"name": "PushUnavailable"
},
{
"description": "The authenticated member must accept Terms and Privacy Policy and confirm age.",
"name": "ConsentRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"publicKey": {
"description": "Base64url encoded uncompressed P-256 VAPID public key.",
"maxLength": 87,
"minLength": 87,
"type": "string"
}
},
"required": [
"publicKey"
],
"type": "object"
}
},
"type": "query"
}