atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.identity.resolveHandle",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "handle"
12 ],
13 "properties": {
14 "handle": {
15 "type": "string",
16 "description": "The handle to resolve.",
17 "format": "handle"
18 }
19 }
20 },
21 "output": {
22 "encoding": "application/json",
23 "schema": {
24 "type": "object",
25 "required": [
26 "did"
27 ],
28 "properties": {
29 "did": {
30 "type": "string",
31 "format": "did"
32 }
33 }
34 }
35 },
36 "errors": [
37 {
38 "description": "The resolution process confirmed that the handle does not resolve to any DID.",
39 "name": "HandleNotFound"
40 }
41 ]
42 }
43 }
44}