social.colibri.beta.community.getHostAuthorization
Reports the outcome of a sign-in started with authorizeHost. Only the user who started it can read it.
Details · query
| Kind | query |
|---|---|
| Authority | community.beta.colibri.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.requestNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.failureNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.signedInAsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$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
}