At this level
blog.brookie.atprotify ยท 5- blog.brookie.atprotify.authFull permission-set
- blog.brookie.atprotify.getPreferences query Get a registered device's notification preferences for the authenticated account. Requires service auth bound to this method.
- blog.brookie.atprotify.listRules query List the notification rules this relay runs, so an app can show a toggle for each. No auth needed.
- blog.brookie.atprotify.registerPush procedure Register a device to receive push notifications for the authenticated account, or update its preferences. Requires service auth bound to this method. Calling it again for the same platform and token updates the registration.
- blog.brookie.atprotify.unregisterPush procedure Stop sending push notifications for an account to a device. Other accounts on the same device are unaffected. Send a service-auth token bound to this method, or no token and the account's did: knowing the device token is proof enough to take it off the relay, so an app can still unregister an account whose session has expired.