forked from
nonbinary.computer/jacquard
A better Rust ATProto crate
1{
2 "lexicon": 1,
3 "id": "com.atproto.identity.resolveIdentity",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "identifier"
12 ],
13 "properties": {
14 "identifier": {
15 "type": "string",
16 "description": "Handle or DID to resolve.",
17 "format": "at-identifier"
18 }
19 }
20 },
21 "output": {
22 "encoding": "application/json",
23 "schema": {
24 "type": "ref",
25 "ref": "com.atproto.identity.defs#identityInfo"
26 }
27 },
28 "errors": [
29 {
30 "description": "The resolution process confirmed that the handle does not resolve to any DID.",
31 "name": "HandleNotFound"
32 },
33 {
34 "description": "The DID resolution process confirmed that there is no current DID.",
35 "name": "DidNotFound"
36 },
37 {
38 "description": "The DID previously existed, but has been deactivated.",
39 "name": "DidDeactivated"
40 }
41 ]
42 }
43 }
44}