com.atproto.sync.listReposByCollection

atproto-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Enumerates all the DIDs which have records with the given collection NSID.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "repos": {
              "items": {
                "ref": "#repo",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "repos"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "collection": {
            "format": "nsid",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 500,
            "description": "Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists.",
            "maximum": 2000,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "collection"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "repo": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    }
  },
  "id": "com.atproto.sync.listReposByCollection",
  "lexicon": 1
}

Validate Record

Validate a record against com.atproto.sync.listReposByCollection

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:6msi3pj7krzih5qxqtryxlzw
CID
bafyreicl2azqcl4poa5cqyp3ghlomqkzswmu4uqff6cpwk2c7bjrhth75y
Indexed At
2026-02-18 19:04 UTC
AT-URI
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.sync.listReposByCollection

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • List a range of records in a repository, matching a specific collection. Does not require auth.

  • Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.

  • Get information about an account and repository, including the list of collections. Does not require auth.

  • List collections owned by a specific user

  • blue.moji.collection.listCollection querynot from the namespace authority

    List a range of Bluemoji in a repository. Public read: pass 'repo' to browse any repo's collection. If 'repo' is omitted, the caller must be authenticated and their own collection is listed.

Lexicon Garden

@