# net.olamaelcu.livtet.biblio.getShelversOfBook

> List the DIDs that put a given book on one of their shelves.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.getShelversOfBook)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.getShelversOfBook/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.getShelversOfBook/analytics)

## Query (`net.olamaelcu.livtet.biblio.getShelversOfBook`)

Type: query · GET

### Parameters (query string)

- `bookUri` (string · at-uri, required): AT-URI of the catalog book whose shelvers to list.
- `cursor` (string): Opaque pagination cursor.
- `limit` (integer): Maximum number of distinct DIDs to return.
  - Constraints: minimum: 1, maximum: 100, default: 50

### Output (application/json)

- `bookUri` (string · at-uri, required): The book the DIDs shelved, echoed from the request.
- `cursor` (string): Opaque pagination cursor; absent when no further DIDs are known.
- `dids` (array, required): Distinct DIDs in `min(uri)` order. Every uri starts with `at://<did>/…`, so this is lexicographic DID order — which is what makes the keyset cursor strict.
  - `items` (string · did)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "bookUri": {
              "description": "The book the DIDs shelved, echoed from the request.",
              "format": "at-uri",
              "type": "string"
            },
            "cursor": {
              "description": "Opaque pagination cursor; absent when no further DIDs are known.",
              "type": "string"
            },
            "dids": {
              "description": "Distinct DIDs in `min(uri)` order. Every uri starts with `at://<did>/…`, so this is lexicographic DID order — which is what makes the keyset cursor strict.",
              "items": {
                "format": "did",
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "bookUri",
            "dids"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "bookUri": {
            "description": "AT-URI of the catalog book whose shelvers to list.",
            "format": "at-uri",
            "type": "string"
          },
          "cursor": {
            "description": "Opaque pagination cursor.",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Maximum number of distinct DIDs to return.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "bookUri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "List the DIDs that put a given book on one of their shelves.",
  "id": "net.olamaelcu.livtet.biblio.getShelversOfBook",
  "lexicon": 1
}
```
