Query
query WebPushState {
webPushState {
configured
publicKey
subscriptionCount
}
}Response
{
"data": {
"webPushState": {
"configured": true,
"publicKey": "string",
"subscriptionCount": 1
}
}
}Queries
webPushState
Returns a web push state.
QUERY
webPushState: WebPushState!Returns
configured
Boolean!
Whether this web push state is configured.
publicKey
String
The public key associated with this web push state. May be null when unavailable or not applicable.
subscriptionCount
Int!
Number of subscriptions.
Query
query WebPushState {
webPushState {
configured
publicKey
subscriptionCount
}
}Response
{
"data": {
"webPushState": {
"configured": true,
"publicKey": "string",
"subscriptionCount": 1
}
}
}