Patch part of a drop
dropyour_patchReplace ONE literal anchor in the SERVED content without re-uploading everything — the Edit semantics you already know. old = the exact literal text to find; new = its replacement; occurrences (default 1) = how many times old must appear: if the real count differs, NOTHING is replaced and the refusal tells you the real count (widen the anchor, or declare the real count to replace all). Graduated apps: path selects the file of the SERVED version (default index.html); pass expectedVersion (from list_versions) and the patch is refused if the served version moved since your read — no blind overwrite. Each patch creates a normal FULL version: rollback works as always. Tiers 1-3: single-file drops only (a multi-file site is replaced whole); the patch goes through the ENTIRE replace pipeline — scan included, on the RESULTING document, never the fragment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | ||
| old | Yes | ||
| path | No | ||
| dropId | Yes | ||
| occurrences | No | ||
| expectedVersion | No | ||
| managementToken | No |