532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"id": "com.atproto.sync.getBlob",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"errors": [
|
|
{
|
|
"name": "BlobNotFound"
|
|
},
|
|
{
|
|
"name": "RepoNotFound"
|
|
},
|
|
{
|
|
"name": "RepoTakendown"
|
|
},
|
|
{
|
|
"name": "RepoSuspended"
|
|
},
|
|
{
|
|
"name": "RepoDeactivated"
|
|
}
|
|
],
|
|
"output": {
|
|
"encoding": "*/*"
|
|
},
|
|
"parameters": {
|
|
"type": "params",
|
|
"required": [
|
|
"did",
|
|
"cid"
|
|
],
|
|
"properties": {
|
|
"cid": {
|
|
"type": "string",
|
|
"format": "cid",
|
|
"description": "The CID of the blob to fetch"
|
|
},
|
|
"did": {
|
|
"type": "string",
|
|
"format": "did",
|
|
"description": "The DID of the account."
|
|
}
|
|
}
|
|
},
|
|
"description": "Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS."
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|