Read a page’s element tree from the REST API
The Get Page endpoint now accepts expand=elements, returning the page’s full element tree alongside the page record.
- Opt-in — omit
expandand the response is unchanged.elementsis included only when you request it, andexpandaccepts onlyelements(any other value returns a400). - Respects existing resolution — the returned tree honors the same
localeandversionRefparameters as the endpoint.?locale=returns the localized tree;?versionRef=ref:livereturns the published tree (default isref:draft). - Tree shape — each node has a
type, akey(a UUID unique within the tree), andprops. Nested elements live insideprops, at any depth.
For details, see the expand parameter on Get Page.