documents

Retrieve document content as HTML optimized for Print CSS

Changed on
get/api/document/{id}/print

Request

  • Base URL
    /exist/apps/tei-publisher (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    • API key in cookie teipublisher.com.login
    • or HTTP basic

Path parameters

idstring required
Example:test/F-rom.xml

Query parameters

oddstring
Example:shakespeare.odd
basestring

Base URI to use for resolving links and images

wcstring

Include TEI Publisher webcomponents if set. 'page' will also inject a <pb-page> wrapper if not present, using parameter 'base' as endpoint.

stylestring[]

Additional CSS stylesheet URLs to be loaded

scriptstring[]

Additional script URLs to be loaded

Response

Returns the entire document as HTML

Changes