view

List available HTML templates

Changed on

Lists all page layout templates available for the document view. Used by pb-select-templates.

get/api/templates

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

Response

Array of templates

namestring
titlestring nullable

Changes