532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"id": "com.atproto.sync.getBlocks",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"errors": [
|
|
{
|
|
"name": "BlockNotFound"
|
|
},
|
|
{
|
|
"name": "RepoNotFound"
|
|
},
|
|
{
|
|
"name": "RepoTakendown"
|
|
},
|
|
{
|
|
"name": "RepoSuspended"
|
|
},
|
|
{
|
|
"name": "RepoDeactivated"
|
|
}
|
|
],
|
|
"output": {
|
|
"encoding": "application/vnd.ipld.car"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"description": "Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS."
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|