view

Retrieve HTML page

Changed on

Retrieve an HTML page expanded through eXist templating. This is used to load the top-level HTML pages, e.g. index.html.

get/{file}.html

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

filestring required

Path to the document relative to the template collection below the application root

Query parameters

langstring

Response

HTML of the page

Changes

    • info

      added the new optional query request parameter lang

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the media type text/html for the response with the status