dev.knotless.registerPush
Keeps, on the appview, a device to send the asking account's notifications to, from then on. A device already registered to another account moves to this one.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Showing version bafyreig73w3ifjiofwbt4aayvbv3si55snmpyzs4fch7zrlcrcu2gycnm4. Show the latest
Procedure
procedure · POSTInput
application/jsonWhich of Apple's push services issued the token.
maxLength: 20knownValues: production | sandbox
The device's push token from Apple, in hexadecimal.
maxLength: 200
Output
application/jsonErrors
InvalidRequest
The token is not hexadecimal, or the environment is not one this appview knows.
AuthenticationRequired
No account is asking.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Registers a device for push notifications.
-
Registers a push endpoint for the requesting user's device. Web Push requires endpoint, p256dh, and auth. FCM requires token. APNs requires token and environment.
-
app.didpic.notification.registerPush
procedureBind a device push token to the authenticated viewer.
-
social.grain.notification.registerPush
procedureRegister a device's push token for the viewer, as app.bsky.notification.registerPush does. Requires auth.
-
so.sprk.notification.registerPush
procedureRegister to receive push notifications, via a specified service, for the requesting account. Requires auth.