fyi.opensocial.checkImport

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.

Details · query
Kindquery
Authorityopensocial.fyi
Indexed

Showing version bafyreiaegfx3jvpjnot3u67mrambvivfe64x6tiyfh2tpvmsyy2xukkgje. Show the latest

cid bafyreiaegfx3jvpjnot3u67mrambvivfe64x6tiyfh2tpvmsyy2xukkgje

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "errors": [
        {
          "name": "NotPlc"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "address": {
              "description": "Its address here: one label under this host's handle domain.",
              "type": "string"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "from": {
              "description": "The handle it has now.",
              "type": "string"
            },
            "handle": {
              "description": "Its handle once moved.",
              "format": "handle",
              "type": "string"
            },
            "keeps": {
              "description": "Whether that's the handle it has now.",
              "type": "boolean"
            },
            "label": {
              "type": "string"
            },
            "pds": {
              "description": "The server it lives on now, as its DID document names it.",
              "format": "uri",
              "type": "string"
            },
            "recommendedCreds": {
              "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).",
              "type": "unknown"
            },
            "refused": {
              "description": "{error, message}: InvalidHandle or HandleNotAvailable.",
              "type": "unknown"
            }
          },
          "required": [
            "did",
            "handle",
            "address",
            "label",
            "keeps"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "address": {
            "description": "The label of its address here, if not its handle's first label.",
            "type": "string"
          },
          "did": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.checkImport",
  "lexicon": 1
}