atproto blogging
at main 46 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "com.atproto.identity.refreshIdentity", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Request that the server re-resolve an identity (DID and handle). The server may ignore this request, or require authentication, depending on the role, implementation, and policy of the server.", 8 "input": { 9 "encoding": "application/json", 10 "schema": { 11 "type": "object", 12 "required": [ 13 "identifier" 14 ], 15 "properties": { 16 "identifier": { 17 "type": "string", 18 "format": "at-identifier" 19 } 20 } 21 } 22 }, 23 "output": { 24 "encoding": "application/json", 25 "schema": { 26 "type": "ref", 27 "ref": "com.atproto.identity.defs#identityInfo" 28 } 29 }, 30 "errors": [ 31 { 32 "description": "The resolution process confirmed that the handle does not resolve to any DID.", 33 "name": "HandleNotFound" 34 }, 35 { 36 "description": "The DID resolution process confirmed that there is no current DID.", 37 "name": "DidNotFound" 38 }, 39 { 40 "description": "The DID previously existed, but has been deactivated.", 41 "name": "DidDeactivated" 42 } 43 ] 44 } 45 } 46}