When a reader opens a book in Florilegio’s study interface, the frontend calls this endpoint to load the introductory panel — author, approximate date of writing, and a narrative context paragraph. The data is stored in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/alfonsoolavarria/florilegio/llms.txt
Use this file to discover all available pages before exploring further.
ContextoLibro model as a JSON string and deserialized on each request by ContextoLibro.get_contenido().
Endpoint
Path Parameters
The Bible book number, 1–66. This is matched against the
numero field of the related LibroBiblia record. Genesis = 1, Psalms = 19, Matthew = 40, Revelation = 66.Response (success — HTTP 200)
Always
"success" on a successful response.The deserialized JSON object stored in
ContextoLibro.contenido. The exact keys within this object are determined by the content editors who create each entry via the Django admin. Common keys include titulo, autor, fecha, and contexto, but additional fields may be present.contenido is stored as a raw JSON string in the database and deserialized at read time by ContextoLibro.get_contenido(), which calls json.loads() on the field. If the stored value is not valid JSON, this method will raise a json.JSONDecodeError and the endpoint will return HTTP 500.Response (error — HTTP 404)
Returned when noContextoLibro record exists for the given libro_numero.
Always
"error" when the book context is not found.A fixed Spanish-language message:
"No hay contexto disponible para este libro."