atproto blogging
at main 48 lines 1.2 kB view raw
1{ 2 "lexicon": 1, 3 "id": "com.atproto.identity.resolveDid", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Resolves DID to DID document. Does not bi-directionally verify handle.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "did" 12 ], 13 "properties": { 14 "did": { 15 "type": "string", 16 "description": "DID to resolve.", 17 "format": "did" 18 } 19 } 20 }, 21 "output": { 22 "encoding": "application/json", 23 "schema": { 24 "type": "object", 25 "required": [ 26 "didDoc" 27 ], 28 "properties": { 29 "didDoc": { 30 "type": "unknown", 31 "description": "The complete DID document for the identity." 32 } 33 } 34 } 35 }, 36 "errors": [ 37 { 38 "description": "The DID resolution process confirmed that there is no current DID.", 39 "name": "DidNotFound" 40 }, 41 { 42 "description": "The DID previously existed, but has been deactivated.", 43 "name": "DidDeactivated" 44 } 45 ] 46 } 47 } 48}