comAtprotoIdentityResolveDid top-level constant
com.atproto.identity.resolveDid
Implementation
const comAtprotoIdentityResolveDid = <String, dynamic>{
"lexicon": 1,
"id": "com.atproto.identity.resolveDid",
"defs": {
"main": {
"type": "query",
"description":
"Resolves DID to DID document. Does not bi-directionally verify handle.",
"parameters": {
"type": "params",
"required": ["did"],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "DID to resolve.",
},
},
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["didDoc"],
"properties": {
"didDoc": {
"type": "unknown",
"description": "The complete DID document for the identity.",
},
},
},
},
"errors": [
{
"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.",
},
],
},
},
};