comAtprotoIdentityResolveHandle top-level constant
com.atproto.identity.resolveHandle
Implementation
const comAtprotoIdentityResolveHandle = <String, dynamic>{
"lexicon": 1,
"id": "com.atproto.identity.resolveHandle",
"defs": {
"main": {
"type": "query",
"description":
"Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.",
"parameters": {
"type": "params",
"required": ["handle"],
"properties": {
"handle": {
"type": "string",
"format": "handle",
"description": "The handle to resolve.",
},
},
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["did"],
"properties": {
"did": {"type": "string", "format": "did"},
},
},
},
"errors": [
{
"name": "HandleNotFound",
"description":
"The resolution process confirmed that the handle does not resolve to any DID.",
},
],
},
},
};