# org.passingreads.book.getPublicationBooks

> Published by [passingreads.org](https://lexicon.garden/identity/did:plc:oeipalbxet5jghoqe6b6ctu6)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:oeipalbxet5jghoqe6b6ctu6/org.passingreads.book.getPublicationBooks)
- [Documentation](https://lexicon.garden/lexicon/did:plc:oeipalbxet5jghoqe6b6ctu6/org.passingreads.book.getPublicationBooks/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:oeipalbxet5jghoqe6b6ctu6/org.passingreads.book.getPublicationBooks/examples)

## Definitions

### `org.passingreads.book.getPublicationBooks`

**Type**: `query`

List every dropped book copy that shares a publicationId. Unlike searchBooks this does not de-duplicate — the publication detail page wants every individual copy so the user can see exactly how many are out there and where.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `publicationId` | `string` | Yes | The OpenLibrary Edition ID shared by all copies of this publication. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `books` | `array` | Yes |  |

## Raw Schema

```json
{
  "id": "org.passingreads.book.getPublicationBooks",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "books"
          ],
          "properties": {
            "books": {
              "type": "array",
              "items": {
                "ref": "org.passingreads.book.defs#statefulBook",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "publicationId"
        ],
        "properties": {
          "publicationId": {
            "type": "string",
            "description": "The OpenLibrary Edition ID shared by all copies of this publication."
          }
        }
      },
      "description": "List every dropped book copy that shares a publicationId. Unlike searchBooks this does not de-duplicate — the publication detail page wants every individual copy so the user can see exactly how many are out there and where."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
