promote_dev_draft
Promote your per-user dev draft to the page's shared draft after block code deployment. Replaces shared blocks; returns warnings if content violates the workspace manifest.
Instructions
Promote YOUR per-user dev draft overlay onto the page's shared draft (replaces the shared draft blocks; the overlay belongs to the token's user). Do this after the block code for the composed types is deployed to the site. Fails when you have no dev draft for the page. If the result includes blockWarnings, the promoted content violates the workspace block manifest - correct the content and save again. Only call after the user confirms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page id |