v1

latestOpenAPI 3.0.32026-07-1718918.2 KB
Corpus

Fetch full text or PDF for a document

Serves document content from the corpus directory. If a corresponding PDF exists, it may serve the PDF; otherwise serves a .txt if available. Content type varies.

get/fulltext/{doc_id}

Path parameters

doc_idstring required

Document path/id (Bottle <path>). .txt may be appended by the server.

Response

Document file (txt/pdf)