so.sprk.notification.registerPush

Register to receive push notifications, via a specified service, for the requesting account. Requires auth.

Repository @sprk.so did:plc:cveom2iroj3mt747sd4qqnr2 namespace authority
Details · procedure
Kindprocedure
Authoritynotification.sprk.so
Indexed
cid bafyreibllhrhfzpgftn2hgva2iz6tpszeaefkhovtbe7tdi57efxdbrtgm

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Register to receive push notifications, via a specified service, for the requesting account. Requires auth.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "appId": {
              "type": "string"
            },
            "platform": {
              "knownValues": [
                "ios",
                "android",
                "web"
              ],
              "type": "string"
            },
            "serviceDid": {
              "format": "did",
              "type": "string"
            },
            "token": {
              "type": "string"
            }
          },
          "required": [
            "serviceDid",
            "token",
            "platform",
            "appId"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "so.sprk.notification.registerPush",
  "lexicon": 1
}