add @bsky.app/sdk + @atproto/lex, vendor lexicons, codegen via lex cli

This commit is contained in:
Samuel Newman
2026-07-15 16:06:20 +03:00
parent 17c1ee4869
commit 15e232749a
306 changed files with 22544 additions and 2 deletions
+46
View File
@@ -0,0 +1,46 @@
{
"lexicon": 1,
"id": "com.atproto.sync.getBlob",
"defs": {
"main": {
"type": "query",
"description": "Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS.",
"parameters": {
"type": "params",
"required": ["did", "cid"],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "The DID of the account."
},
"cid": {
"type": "string",
"format": "cid",
"description": "The CID of the blob to fetch"
}
}
},
"output": {
"encoding": "*/*"
},
"errors": [
{
"name": "BlobNotFound"
},
{
"name": "RepoNotFound"
},
{
"name": "RepoTakendown"
},
{
"name": "RepoSuspended"
},
{
"name": "RepoDeactivated"
}
]
}
}
}