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 onRequest
- The document declares no server URL.
- Authnone declared
Path parameters
Book slug
Query parameters
Active toc node slug for contextual resolution
Response
Bibliographic info for the active text
Resolved bibliographic info for the "About this text" panel.
Walks ancestors of the active toc node looking for the deepest toc_nodes.source_id and falls back to books.source_id. For Bible-shape works this lets the panel show info about the constituent book the reader is in (Genesis, Romans); for plain works (Kant) it always falls back to the hosted book's source.
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).
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.
"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
- info
added the required property
licenceto the response with the status
- info
- info
added the optional property
source/original_year_circato the response with the status
- info