social.colibri.beta.bridge.getPairing

Describes a pending pairing code so an admin can see which bridge they are about to connect.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · query
Kindquery
Authoritybridge.beta.colibri.social
Indexed
cid bafyreifhbzf2qhpnnvhd5pkpsf4ldd5gsqdkdiwpq5qovk7wvdc4ut3wwa

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Describes a pending pairing code so an admin can see which bridge they are about to connect.",
      "errors": [
        {
          "description": "The request is missing, malformed, or unverifiable service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The code does not exist, has expired, or was already used.",
          "name": "PairingNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "pairing": {
              "description": "The pending pairing.",
              "ref": "social.colibri.beta.bridge.defs#pairingView",
              "type": "ref"
            }
          },
          "required": [
            "pairing"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "code": {
            "description": "The pairing code.",
            "maxLength": 32,
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.colibri.beta.bridge.getPairing",
  "lexicon": 1
}