Rivier/ Reference/ hosting

Hosting site page preview

get/hosting/sites/{id}/pages/{page}/preview

The page rendered from the working copy, as HTML (?annotate=1 marks each block for the designer).

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:read
Mcp
rivier_site_page_preview
Sdk
hosting.sitePage.preview
Cli
hosting site page preview

Parameters

  • idstring (uuid)required
    In the path
  • pagestring (uuid)required
    In the path
  • annotatestring
    In the query

Responses

  • 200text/html
    Success

    string

  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown