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
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

environment

requiredstring

Which of Apple's push services issued the token.

  • maxLength: 20
  • knownValues: production | sandbox

token

requiredstring

The device's push token from Apple, in hexadecimal.

  • maxLength: 200

Output

application/json

Errors

InvalidRequest

The token is not hexadecimal, or the environment is not one this appview knows.

AuthenticationRequired

No account is asking.

Similar lexicons

semantic match

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