{
"id": "zone.stratos.space.listBlobs",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "RepoNotFound",
"description": "The requested account has no repo on this service."
},
{
"name": "UnknownSpace",
"description": "The requested space URI is malformed or its space DID does not match this service's DID."
},
{
"name": "AuthRequired",
"description": "The caller is not admitted to the requested space (not a member, or the presented credential targets a different space)."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"cids"
],
"properties": {
"cids": {
"type": "array",
"items": {
"type": "string",
"format": "cid"
}
},
"cursor": {
"type": "string"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"space",
"repo"
],
"properties": {
"repo": {
"type": "string",
"format": "did",
"description": "The DID of the account whose blobs to list."
},
"limit": {
"type": "integer",
"default": 500,
"maximum": 1000,
"minimum": 1
},
"since": {
"type": "string",
"format": "tid",
"description": "Optional revision of the repo to list blobs since."
},
"space": {
"type": "string",
"description": "The space's at:// URI (at://{did}/space/{type}/{skey}). Mirrors the upstream space-ref string format (atproto#5187); declared as a plain string until @atproto/lexicon supports that format. Its space DID must equal this service's DID."
},
"cursor": {
"type": "string"
}
}
},
"description": "List the CIDs of blobs referenced by an account's records within a permissioned space, optionally since some revision of that repo. Spec-shaped mirror of com.atproto.space.listBlobs (atproto#5187): callable with standard user auth (the caller must be a member of the space) or with a space credential for that space (for syncing services). Blobs behind permissioned records are never enumerated by an unauthenticated endpoint."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}