API Specificationxmb.api.v1.NotificationPushService
Get push configuration
Reports which push channels this deployment supports and the Web Push public key.
Required scopes: xmb:user:read
Authorization
BearerAuth AuthorizationBearer <token>
An access token issued by the xeonr identity provider.
In: header
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.NotificationPushService/GetPushConfig" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"webPushAvailable": "true",
"vapidPublicKey": "BExampleVapidPublicKey-placeholder-base64url-p256-uncompressed-point",
"expoAvailable": "false",
"apnsAvailable": "true",
"fcmAvailable": "true"
}xmb.api.v1.NotificationPushService
NotificationPushService registers and unregisters a person's devices. The pushes themselves happen server-side off the event pipeline; there is no send method and no list method.
Register push device POST
Registers or refreshes the calling account's push token for this install. **Required scopes:** `xmb:user:write`