add @bsky.app/sdk + @atproto/lex, vendor lexicons, codegen via lex cli
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"lexicon": 1,
|
||||
"id": "com.atproto.identity.resolveDid",
|
||||
"defs": {
|
||||
"main": {
|
||||
"type": "query",
|
||||
"description": "Resolves DID to DID document. Does not bi-directionally verify handle.",
|
||||
"parameters": {
|
||||
"type": "params",
|
||||
"required": ["did"],
|
||||
"properties": {
|
||||
"did": {
|
||||
"type": "string",
|
||||
"format": "did",
|
||||
"description": "DID to resolve."
|
||||
}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"encoding": "application/json",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": ["didDoc"],
|
||||
"properties": {
|
||||
"didDoc": {
|
||||
"type": "unknown",
|
||||
"description": "The complete DID document for the identity."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"errors": [
|
||||
{
|
||||
"name": "DidNotFound",
|
||||
"description": "The DID resolution process confirmed that there is no current DID."
|
||||
},
|
||||
{
|
||||
"name": "DidDeactivated",
|
||||
"description": "The DID previously existed, but has been deactivated."
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user