zone.stratos.sync.listRecordPaths

Full-state recovery: enumerate a repo's record paths and their current CIDs, mirroring listRecords semantics. Record values are inlined by default; excludeValues returns metadata only. Boundary-gated: the caller only observes records within its enrolled boundaries. Intended as the fallback when the oplog (listRepoOps) returns OplogTruncated: the caller enumerates paths, diffs locally, and fetches misses. Callers must authenticate with a signed service JWT via the Authorization: Bearer header.

Details · query
Kindquery
Authoritysync.stratos.zone
Indexed
cid bafyreidq46amipjn4tjpweprvngwjfzmaxpapzf2hyozwkfwbdg2rafes4

Checks

Valid
  • unlimited-string defs.main.parameters.properties.cursorNo 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": "Full-state recovery: enumerate a repo's record paths and their current CIDs, mirroring listRecords semantics. Record values are inlined by default; excludeValues returns metadata only. Boundary-gated: the caller only observes records within its enrolled boundaries. Intended as the fallback when the oplog (listRepoOps) returns OplogTruncated: the caller enumerates paths, diffs locally, and fetches misses. Callers must authenticate with a signed service JWT via the Authorization: Bearer header.",
      "errors": [
        {
          "description": "The requested repo does not exist.",
          "name": "RepoNotFound"
        },
        {
          "description": "Service authentication is required.",
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Opaque pagination cursor to fetch the next page. Absent when enumeration is complete.",
              "type": "string"
            },
            "records": {
              "description": "The record paths in this page.",
              "items": {
                "ref": "#recordPath",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "records"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "collection": {
            "description": "Optional single collection to enumerate. When omitted, all collections are enumerated.",
            "format": "nsid",
            "type": "string"
          },
          "cursor": {
            "description": "Opaque pagination cursor from a previous response.",
            "type": "string"
          },
          "did": {
            "description": "The DID of the repo to enumerate.",
            "format": "did",
            "type": "string"
          },
          "excludeValues": {
            "default": false,
            "description": "When true, record values are omitted and only path metadata is returned.",
            "type": "boolean"
          },
          "limit": {
            "default": 100,
            "description": "Maximum number of rows to return in this page.",
            "maximum": 1000,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "recordPath": {
      "description": "A record path with its current CID and optionally its value.",
      "properties": {
        "cid": {
          "description": "The CID (string form) of the current record value.",
          "format": "cid",
          "type": "string"
        },
        "collection": {
          "description": "The record collection.",
          "format": "nsid",
          "type": "string"
        },
        "rkey": {
          "description": "The record key.",
          "maxLength": 512,
          "type": "string"
        },
        "value": {
          "description": "The current record value, inlined by default. Omitted when excludeValues is true.",
          "type": "unknown"
        }
      },
      "required": [
        "collection",
        "rkey",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "zone.stratos.sync.listRecordPaths",
  "lexicon": 1
}