generated_pages

Preview Generated Page Html

Generate full HTML for a page on-the-fly so the dashboard can render it in an <iframe>.

Optional query params:

  • before_version_id: if provided and highlight=true, compute inline diffs from this version
  • highlight: when true, wrap additions/deletions with ins/del tags; if no baseline provided, compare to empty
get/api/domains/{domain_id}/generated-pages/{page_id}/preview-html

Request

  • Base URL
    https://api-v1.unusual.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login

Path parameters

page_idstring required
domain_idstring required

Query parameters

before_version_idstring nullable
highlightboolean

Headers

x-view-asstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.