blog.brookie.atprotify.registerPush

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.

Repository @brookie.blog did:plc:v46ojbiop5ebs5h7gaomixcc namespace authority
Details · procedure
Kindprocedure
Authorityatprotify.brookie.blog
Commit rev3n2s2imvl7k2b
Indexed

Showing version bafyreih7hgkzljf2gvpwxdjilvvh2upyogsamkj76lede5lamiq23iswmy. Show the latest

Procedure

procedure · POST

Input

application/json

appId

string

The app's bundle ID for APNs. Must be one the relay allows.

Rule IDs this device doesn't want. Omit to keep the current list.

itemsstring

Rule IDs this device wants only from accounts its owner follows. Needs a relay with a follows lookup (listRules says). Omit to keep the current list.

itemsstring

Accounts whose activity never notifies this device. Omit to keep the current list.

  • maxLength: 10000
itemsstring · did

platform

requiredstring
  • knownValues: apns | fcm | ntfy

revokeChat

boolean

Let go of the account's direct-message grant (see the chat handoff at the service's authUrl), revoking it at its sign-in server.

sandbox

boolean

Use the APNs development environment (debug builds).

Accounts whose new records this device wants, for rules with subscribers. Omit to keep the current list.

  • maxLength: 10000

token

requiredstring

APNs device token (hex), FCM registration token, or ntfy topic.

  • maxLength: 4096

Output

application/json

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.