Skip to content

com.atproto.sync.listBlobs

Lexicon Version: 1

Type: query

List blob CIDs for an account, since some repo revision. Does not require auth; implemented by PDS.

Parameters:

NameTypeReq’dDescriptionConstraints
didstringThe DID of the repo.Format: did
sincestringOptional revision of the repo to list blobs since.Format: tid
limitintegerMin: 1
Max: 1000
Default: 500
cursorstring
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
cursorstring
cidsArray of string
Possible Errors:
  • RepoNotFound
  • RepoTakendown
  • RepoSuspended
  • RepoDeactivated

{
"lexicon": 1,
"id": "com.atproto.sync.listBlobs",
"defs": {
"main": {
"type": "query",
"description": "List blob CIDs for an account, since some repo revision. Does not require auth; implemented by PDS.",
"parameters": {
"type": "params",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "The DID of the repo."
},
"since": {
"type": "string",
"format": "tid",
"description": "Optional revision of the repo to list blobs since."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 500
},
"cursor": {
"type": "string"
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"cids"
],
"properties": {
"cursor": {
"type": "string"
},
"cids": {
"type": "array",
"items": {
"type": "string",
"format": "cid"
}
}
}
}
},
"errors": [
{
"name": "RepoNotFound"
},
{
"name": "RepoTakendown"
},
{
"name": "RepoSuspended"
},
{
"name": "RepoDeactivated"
}
]
}
}
}