Files
bsky-social-app/lexicons/com/atproto/sync/getBlob.json
T
2026-08-13 12:26:12 -07:00

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
}