Update DataLens HTML page
datalens_htmlpages_updateSave new HTML to a DataLens page as a draft or publish it live, or restore a prior revision as the current version.
Instructions
Save new HTML of a page, or make one of its revisions the current one.
mode save makes a new revision and leaves the public one; publish shows it to
everyone. With revId, save copies that revision as the current draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Either new HTML, `{entryId, content, mode}`, or a revision to make current, `{entryId, revId, mode}`: one of the two, not both. |