PushSubscriptionPage
The PushSubscriptionPage type of the TypeScript SDK, which pushSubscriptions.list take or answer.
type PushSubscriptionPage = {
subscriptions: PushSubscription[]
vapidPublicKey: string | null
}Fields
| Field | Type | Description |
|---|---|---|
subscriptions | PushSubscription[] | Only the subscriptions registered by the CALLING credential |
vapidPublicKey | string | null | The server's VAPID application key (base64url, uncompressed P-256 point). Pass it as applicationServerKey when calling PushManager.subscribe. Null when Web Push is not configured on this deployment, in which case POST refuses with web_push_not_configured |
Used by
| Method | What it does |
|---|---|
pushSubscriptions.list | List push subscriptions |