books

Bibliographic info for the "About this text" panel. With `?node=`, walks the toc-ancestor chain to surface the constituent work the reader is in (e.g. Genesis within KJV); otherwise returns the hosted book's source.

Changed on
get/api/books/{slug}/about

Request

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

Path parameters

slugstring required

Book slug

Query parameters

nodestring

Active toc node slug for contextual resolution

Response

Bibliographic info for the active text

about_textstring nullable

Editor's note for this hosted edition (free-form plain text). Mirrors books.about_text of the hosted book the reader is in (NOT walked across toc ancestors).

licencestring required

Rights summary for this hosted edition — books.licence, a short standout label ("Public Domain", "CC BY-NC-ND 4.0"). Like about_text, taken from the hosted book, not walked across toc ancestors.

resolved_fromstring required

"node" when an ancestor toc_node supplied a source_id (Bible books-within-books); "book" when the resolver fell back to the hosted book's root source.

Changes