com.suibari.nagi.registerPushSubscription

Repository @suibari.com did:plc:uixgxpiqf4i63p6rgpu7ytmx namespace authority
Details · procedure
Kindprocedure
Authoritynagi.suibari.com
Indexed
cid bafyreib7kzcxdr6z4eh5ssa3ywb4kfduzeudimq3ndhbxhhxcbydakgeza

Checks

Valid
  • missing-primary-description defs.mainThe procedure has no description.
  • unlimited-string defs.pushKeys.properties.authNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.pushKeys.properties.p256dhNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "AuthRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "capability": {
              "maxLength": 128,
              "minLength": 32,
              "type": "string"
            },
            "endpoint": {
              "format": "uri",
              "type": "string"
            },
            "installationId": {
              "maxLength": 36,
              "minLength": 36,
              "type": "string"
            },
            "keys": {
              "ref": "#pushKeys",
              "type": "ref"
            }
          },
          "required": [
            "endpoint",
            "keys"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "registered": {
              "type": "boolean"
            }
          },
          "required": [
            "registered"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    },
    "pushKeys": {
      "properties": {
        "auth": {
          "type": "string"
        },
        "p256dh": {
          "type": "string"
        }
      },
      "required": [
        "p256dh",
        "auth"
      ],
      "type": "object"
    }
  },
  "id": "com.suibari.nagi.registerPushSubscription",
  "lexicon": 1
}