zone.stratos.space.listBlobs

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.

Details · query
Kindquery
Authorityspace.stratos.zone
Indexed
cid bafyreiavjvjp7mc52mqedu6w53nfuaqhcrxub5rp2skls37ppjkftpn7q4

Checks

Valid
  • unlimited-string defs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.spaceNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "errors": [
        {
          "description": "The requested account has no repo on this service.",
          "name": "RepoNotFound"
        },
        {
          "description": "The requested space URI is malformed or its space DID does not match this service's DID.",
          "name": "UnknownSpace"
        },
        {
          "description": "The caller is not admitted to the requested space (not a member, or the presented credential targets a different space).",
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cids": {
              "items": {
                "format": "cid",
                "type": "string"
              },
              "type": "array"
            },
            "cursor": {
              "type": "string"
            }
          },
          "required": [
            "cids"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 500,
            "maximum": 1000,
            "minimum": 1,
            "type": "integer"
          },
          "repo": {
            "description": "The DID of the account whose blobs to list.",
            "format": "did",
            "type": "string"
          },
          "since": {
            "description": "Optional revision of the repo to list blobs since.",
            "format": "tid",
            "type": "string"
          },
          "space": {
            "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.",
            "type": "string"
          }
        },
        "required": [
          "space",
          "repo"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "zone.stratos.space.listBlobs",
  "lexicon": 1
}