Update page
fastero_update_pageChange a hosted page in place: its HTML, name, widgets or noteEnabled. Fields left out stay as they are, and its address, refresh setting, recent errors and who opened it are kept. html replaces the whole document, so read it first with fastero_get_page, and write it by the rules fastero_create_page gives for a page; fastero_create_page publishes a new page instead, and fastero_set_page_refresh changes how it refreshes. HTML over 2 MB, or a widget of another project or of type integration, is refused with the reason. Returns the page without its HTML, with its url. Owners, admins and editors of the project can change it. fastero_show_page shows it in the conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | The whole new HTML document, at most 2 MB, replacing the old one. | |
| name | No | A new name, at most 200 characters. | |
| pageId | Yes | A hosted page’s id, from fastero_list_pages. | |
| widgets | No | The widgets the page may read, each under the name its code asks for: widgets of this project of type query, file or notebook (fastero_list_reports lists them). One of type integration is refused; a text block, though of type file, is accepted and gives the page no rows. | |
| projectId | Yes | The project’s id, from fastero_list_projects. | |
| noteEnabled | No | Fastero writes a short AI note about the page's numbers above it. false turns it off, for a page with text of its own. |