sb_page_state
Determine which of a page's three copies is draft, published, or session, and detect why the editor canvas shows blank, plus locate recovery points.
Instructions
Which of this page's three copies is which: the DRAFT the editor canvas shows, the PUBLISHED row the storefront serves, and what this session holds. Says whether the editor will render the canvas BLANK (its hydrate gate discards a document whose root is missing and shows an empty ROOT, silently — the Go renderer has no such gate, which is how "the live page has data but the canvas is empty" happens), whether the draft has changes the live page does not, and where the recovery points are.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | Defaults to the open page | |
| site_id | No |