com.suibari.nagi.registerPushSubscription

suibari.com

Documentation

main procedure

No description available.

Input

Encodingapplication/json
capability string Optional

No description available.

maxLength: 128 bytesminLength: 32 bytes
endpoint stringuri Required

A valid URI.

installationId string Optional

No description available.

maxLength: 36 bytesminLength: 36 bytes
keys ref#pushKeys Required

No description available.

Output

Encodingapplication/json
registered boolean Required

No description available.

Errors

AuthRequired
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "endpoint",
        "keys"
      ],
      "properties": {
        "keys": {
          "ref": "#pushKeys",
          "type": "ref"
        },
        "endpoint": {
          "type": "string",
          "format": "uri"
        },
        "capability": {
          "type": "string",
          "maxLength": 128,
          "minLength": 32
        },
        "installationId": {
          "type": "string",
          "maxLength": 36,
          "minLength": 36
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "AuthRequired"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "registered"
      ],
      "properties": {
        "registered": {
          "type": "boolean"
        }
      }
    },
    "encoding": "application/json"
  }
}
pushKeys object

No description available.

Properties

auth string Required

No description available.

p256dh string Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "p256dh",
    "auth"
  ],
  "properties": {
    "auth": {
      "type": "string"
    },
    "p256dh": {
      "type": "string"
    }
  }
}

Lexicon Garden

@