chadtmiller.com/group-host
atmosphere group host
0
0
{
"lexicon": 1,
"id": "org.atgrp.internal.checkImport",
"defs": {
"main": {
"type": "query",
"description": "What moving an account here would make of it, before anything moves (importAccount moves it so): its handle here, whether that's the one it has, and its address, this host's own name for it. A handle on a domain of the account's own that still names it comes along; one its old server gives out becomes the address. `refused` says why it can't have that address, as importAccount would. While the caller's own move of it is pending, `recommendedCreds` says again what the operation should name, as importAccount did.",
"parameters": {
"type": "params",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"address": {
"type": "string",
"description": "The label of its address here, if not its handle's first label."
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"did",
"handle",
"address",
"label",
"keeps"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"handle": {
"type": "string",
"format": "handle",
"description": "Its handle once moved."
},
"address": {
"type": "string",
"description": "Its address here: one label under this host's handle domain."
},
"label": {
"type": "string"
},
"keeps": {
"type": "boolean",
"description": "Whether that's the handle it has now."
},
"from": {
"type": "string",
"description": "The handle it has now."
},
"refused": {
"type": "unknown",
"description": "{error, message}: InvalidHandle or HandleNotAvailable."
},
"pds": {
"type": "string",
"format": "uri",
"description": "The server it lives on now, as its DID document names it."
},
"recommendedCreds": {
"type": "unknown",
"description": "While the caller's own move of it is pending: rotationKeys, alsoKnownAs, verificationMethods and services, as importAccount answered, for the account's server to sign (com.atproto.identity.signPlcOperation)."
}
}
}
},
"errors": [
{
"name": "NotPlc"
}
]
}
}
}