documents

Retrieve document content as HTML optimized for Print CSS

get/api/document/{id}/print

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

Changed in 5 of the 49 revisions of this API.26

    • for the query request parameter script, the type/format was generalized from string/ to array/

      request-parameter-type-generalized

    • for the query request parameter style, the type/format was generalized from string/ to array/

      request-parameter-type-generalized

    • for the query request parameter wc, default value true was removed

      request-parameter-default-value-removed

    • for the query request parameter wc, the type/format was generalized from boolean/ to string/

      request-parameter-type-generalized

    • added the new optional query request parameter script

      new-optional-request-parameter

    • added the new optional query request parameter style

      new-optional-request-parameter

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation