org.passingreads.book.getPublicationBooks

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.

Details · query
Kindquery
Authoritybook.passingreads.org
Indexed
cid bafyreiglefzwzuqxl7edljhavd4bq4phe5cid4lckkv3pnq7ptidh74sx4

Checks

Valid
  • unlimited-string defs.main.parameters.properties.publicationIdNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "books": {
              "items": {
                "ref": "org.passingreads.book.defs#statefulBook",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "books"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "publicationId": {
            "description": "The OpenLibrary Edition ID shared by all copies of this publication.",
            "type": "string"
          }
        },
        "required": [
          "publicationId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "org.passingreads.book.getPublicationBooks",
  "lexicon": 1
}