Page

Render page as raw HTML

Changed on

Returns the rendered HTML content of a page without the JSON metadata wrapper. Useful for retrieving the raw HTML output of a page for embedding or server-side rendering.

The page is identified by a plain URI path (e.g. index, about/team). To render a page on a NON-default site, pass the host_id query parameter (backend users only); without it the current/default site is used. The //host/uri path form is NOT supported — the URI must not embed a host.

get/api/v1/page/renderHTML/{uri}

Request

Path parameters

uristring required

Plain page URI path (e.g. 'index' or 'about/team'). Must not embed a host; use host_id to target a specific site.

Query parameters

host_idstring

Explicit site to render against, given as a host identifier (UUID). Backend users only; if omitted the current/default site is used.

modestring

Page mode for rendering (default: LIVE_ADMIN)

Response

Page HTML rendered successfully

Changes

    • breaking

      added the pattern .* to the path request parameter uri

    • info

      api operation id renderHTMLOnly removed and replaced with renderPageHtmlOnly

    • info

      added the new optional query request parameter host_id

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status