books

Get a book by slug

Changed on
get/api/books/{slug}

Request

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

Path parameters

slug, string required

Book slug

Response

Book details

BookDetail required
author, string required
has_original_layer, boolean 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.

id, string required
language, string required
publication_year, integer 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).

publisher, string nullable
sibling_translations, BookSummary[] required

Sibling translations: every other book that shares this book's translation root. Populated when the work has no hosted source language (Bible: KJV book has [WEB]) so the reader's flat translation picker can list peer translations regardless of source/translation polarity. Empty for Kant-style works where source_book_slug and translations already express the relationship.

slug, string required
source_book_slug, string 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_id, string required
title, string required
translations, BookSummary[] required

Books translated from THIS book. Populated for source-language books (Kant DE → [Kant EN]); empty for translation leaves.

Changes