# com.livtet.listEditions

> Enumerate every catalog edition in at-uri order, one page at a time. Anonymous and read-only, served by the bibliograph edge from `editions` alone: no identifiers, no contributors, no covers, and no PDS. Built for a crawler that needs the whole corpus (a sitemap, a mirror), which the search surface cannot serve because a search needs a term.

- Kind: query
- Authority: livtet.com
- Lexicon: 1
- Published by [biblio.livtet.com](https://lexicon.garden/identity/did:plc:e2x3ihw2ntxt7pcgzmtu3abi), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.listEditions)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.listEditions/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.listEditions/analytics)

## Query (`com.livtet.listEditions`)

Type: query · GET

### Parameters (query string)

- `cursor` (string): Opaque pagination cursor from a previous response. A malformed cursor restarts at the beginning rather than erroring.
  - Constraints: maxLength: 512
- `limit` (integer): Maximum number of editions to return in this page. The default covers the whole catalogue in 283 requests; 5000 covers it in 57, each an index scan measured at ~180 ms. Requesting a larger page is the intended way to make a full crawl cheaper.
  - Constraints: minimum: 1, maximum: 5000, default: 1000

### Output (application/json)

- `cursor` (string): Opaque cursor for the next page; absent when the catalogue is exhausted.
- `items` (array, required): Editions in ascending at-uri order. Two pages never overlap, so a cursor walk over a growing catalogue revisits nothing.
  - `items` (object)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Enumerate every catalog edition in at-uri order, one page at a time. Anonymous and read-only, served by the bibliograph edge from `editions` alone: no identifiers, no contributors, no covers, and no PDS. Built for a crawler that needs the whole corpus (a sitemap, a mirror), which the search surface cannot serve because a search needs a term.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Opaque cursor for the next page; absent when the catalogue is exhausted.",
              "type": "string"
            },
            "items": {
              "description": "Editions in ascending at-uri order. Two pages never overlap, so a cursor walk over a growing catalogue revisits nothing.",
              "items": {
                "properties": {
                  "indexedAt": {
                    "description": "When the catalog last indexed this edition. A sitemap's `lastmod` is this value.",
                    "format": "datetime",
                    "type": "string"
                  },
                  "title": {
                    "description": "The edition's title, as catalogued.",
                    "type": "string"
                  },
                  "uri": {
                    "description": "The edition's at-uri, in the authority the catalog currently publishes under.",
                    "format": "at-uri",
                    "type": "string"
                  }
                },
                "required": [
                  "uri",
                  "title",
                  "indexedAt"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Opaque pagination cursor from a previous response. A malformed cursor restarts at the beginning rather than erroring.",
            "maxLength": 512,
            "type": "string"
          },
          "limit": {
            "default": 1000,
            "description": "Maximum number of editions to return in this page. The default covers the whole catalogue in 283 requests; 5000 covers it in 57, each an index scan measured at ~180 ms. Requesting a larger page is the intended way to make a full crawl cheaper.",
            "maximum": 5000,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Enumerate every catalog edition in at-uri order, one page at a time. Anonymous and read-only, served by the bibliograph edge from `editions` alone: no identifiers, no contributors, no covers, and no PDS. Built for a crawler that needs the whole corpus (a sitemap, a mirror), which the search surface cannot serve because a search needs a term.",
  "id": "com.livtet.listEditions",
  "lexicon": 1
}
```
