Documents
Retrieve a section
GET
https://api.q4.sa/v1/documents/{id}/sections/{section_id}Returns one board report chapter in full: its text paragraph by paragraph with pages, and its tables with the figures in them.
Starter+
Authorization
x-api-keyheaderrequiredPath parameters
idstringrequiredDocument ID, e.g.
doc_7Hk2pQ.section_idstringrequiredSection ID from List sections, e.g.
sec_09.Query parameters
formatstringParagraphs with pages, one Markdown block, or plain text.
One of:
paragraphsmarkdownplainDefault:
paragraphsinclude_tablesbooleanInclude the chapter’s tables.
Default:
trueResponse
dataobjectThe result.
document_idstringDocument the item came from.
idstringUnique ID.
titlestringTitle.
categorystringpagesinteger[]Page count.
paragraphsobject[]The chapter’s text, in order.
pageintegerPage the paragraph is printed on.
textstringtablesobject[]Tables in the chapter.
titlestringTitle.
pageintegercolumnsstring[]rowsobject[]labelstringLine item label as printed.
fact_idsstring[]One figure ID per column. Fetch them with List figures.
