comAtprotoIdentityResolveIdentity top-level constant
com.atproto.identity.resolveIdentity
Implementation
const comAtprotoIdentityResolveIdentity = <String, dynamic>{
"lexicon": 1,
"id": "com.atproto.identity.resolveIdentity",
"defs": {
"main": {
"type": "query",
"description":
"Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).",
"parameters": {
"type": "params",
"required": ["identifier"],
"properties": {
"identifier": {
"type": "string",
"format": "at-identifier",
"description": "Handle or DID to resolve.",
},
},
},
"output": {
"encoding": "application/json",
"schema": {
"type": "ref",
"ref": "com.atproto.identity.defs#identityInfo",
},
},
"errors": [
{
"name": "HandleNotFound",
"description":
"The resolution process confirmed that the handle does not resolve to any DID.",
},
{
"name": "DidNotFound",
"description":
"The DID resolution process confirmed that there is no current DID.",
},
{
"name": "DidDeactivated",
"description":
"The DID previously existed, but has been deactivated.",
},
],
},
},
};