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
+48
View File
@@ -0,0 +1,48 @@
{
"lexicon": 1,
"id": "com.atproto.sync.getBlocks",
"defs": {
"main": {
"type": "query",
"description": "Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS.",
"parameters": {
"type": "params",
"required": ["did", "cids"],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "The DID of the repo."
},
"cids": {
"type": "array",
"items": {
"type": "string",
"format": "cid"
}
}
}
},
"output": {
"encoding": "application/vnd.ipld.car"
},
"errors": [
{
"name": "BlockNotFound"
},
{
"name": "RepoNotFound"
},
{
"name": "RepoTakendown"
},
{
"name": "RepoSuspended"
},
{
"name": "RepoDeactivated"
}
]
}
}
}