social.colibri.beta.community.getHostAuthorization

Reports the outcome of a sign-in started with authorizeHost. Only the user who started it can read it.

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

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Reports the outcome of a sign-in started with authorizeHost. Only the user who started it can read it.",
      "errors": [
        {
          "description": "The request is missing, malformed, or unverifiable service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "No sign-in with that request exists for the requesting user.",
          "name": "RequestNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "community": {
              "description": "The adopted or reconnected community, once done.",
              "format": "did",
              "type": "string"
            },
            "failure": {
              "description": "Why the sign-in failed.",
              "knownValues": [
                "cancelled",
                "wrongAccount",
                "spacesUnsupported",
                "alreadyHosts",
                "failed"
              ],
              "type": "string"
            },
            "signedInAs": {
              "description": "The account the user signed in as, when it was not the expected one.",
              "type": "string"
            },
            "status": {
              "description": "pending until the user finishes signing in, then done or failed.",
              "knownValues": [
                "pending",
                "done",
                "failed"
              ],
              "type": "string"
            }
          },
          "required": [
            "status"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "request": {
            "description": "The request returned by authorizeHost.",
            "type": "string"
          }
        },
        "required": [
          "request"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.colibri.beta.community.getHostAuthorization",
  "lexicon": 1
}