books

Get a book by slug

Changed on
get/api/books/{slug}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

slugstring required

Book slug

Response

Book details

authorstring required
has_original_layerboolean required

Whether this book carries a second, original-orthography layer (content_blocks.original_html). False for editions curated as a single layer — a text already in modern spelling, where a reviewed layer would duplicate the reading text (peirce1). The reader hides its orthography toggle when this is false, rather than offering a switch that changes nothing.

idstring required
languagestring required
publication_yearinteger nullable

Identity year (COALESCE(original_year, publication_year)) — the edition this text presents, which is also what SEO metadata publishes. The truthful printing year lives on the source record (book-about endpoint).

publisherstring nullable
slugstring required
source_book_slugstring nullable

The hosted source-language book this book translates from (Kant EN → Kant DE). Absent when there is no hosted source — e.g. Bible translations from Hebrew/Greek that we don't host.

source_idstring required
titlestring required

Changes