Doc view, save text edits
app_apply_editsDestructive
Used by the docfarm doc view inside the chat, not by the assistant. Saves text the person retyped in the view as exact edits of the stored HTML, guarded by the revision app_read_doc returned. Assistants edit docs with patch_doc instead.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | Yes | The rev app_read_doc returned for the bytes being edited. | |
| slug | Yes | The doc's slug. | |
| edits | Yes | ||
| account | No | Email address of the farm to act on. Omit for the signed-in farm. Only a connected account is accepted; call list_accounts to see which. |