social.grain.notification.unregisterPush

Stop sending pushes to a device token, as app.bsky.notification.unregisterPush does. Requires auth.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · procedure
Kindprocedure
Authoritynotification.grain.social
Commit rev3n2mx2lxicxbg
Indexed
cid bafyreih4na7svpe7turvx74ybcxgtuz7bofz2tdlsttfgayypzrur7etoe

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.platformNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Stop sending pushes to a device token, as app.bsky.notification.unregisterPush does. Requires auth.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "appId": {
              "description": "The app's bundle or package id.",
              "maxLength": 256,
              "type": "string"
            },
            "platform": {
              "knownValues": [
                "ios",
                "android",
                "web"
              ],
              "type": "string"
            },
            "serviceDid": {
              "description": "The service that sends the pushes: this server's DID.",
              "format": "did",
              "type": "string"
            },
            "token": {
              "maxLength": 4096,
              "type": "string"
            }
          },
          "required": [
            "serviceDid",
            "token",
            "platform",
            "appId"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.grain.notification.unregisterPush",
  "lexicon": 1
}