What a visual editor needs for a page
get/hosting/sites/{id}/pages/{page}/canvas
What a visual editor needs for a page: every block with its place, author, locks, editable props (type, limits, options), slots (what they take, how many) and text values, plus the blocks that can be added. Pair it with the preview rendered with ?annotate=1, whose elements carry the same ids.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:read- Mcp
rivier_site_canvas_get- Graphql
Query.hostingSitePageCanvas- Sdk
hosting.sitePage.canvas- Cli
hosting site page canvas
Parameters
- idstring (uuid)requiredIn the path
- pagestring (uuid)requiredIn the path
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring