c4fe20c603a3
Apply Page Optimization
Record that a page's optimization was acted on off-platform — for when the change was made outside Scrunch (e.g. in Sitecore), so no Scrunch review is needed.
Send exactly one of: approve_all: true to accept every changed block, or a reviews list with per-block verdicts by chunk id (approved keeps our version, rejected keeps the original). A reviews list can be partial — un-verdicted blocks keep the run pending, so blocks can be resolved across several calls. The page is acknowledged automatically once every changed block has a verdict, matching the in-app flow that can't close a page with an unresolved block.
Applies to the page's latest run. Returns the run (same shape as the optimization endpoint) — acknowledged once complete, otherwise still pending. Returns 422 when neither or both actions are given, 404 when the page has no run, and 409 for an edge-delivery (AXP-active) page — those go through the edge staging workflow.
Path parameters
Request body
Response
Successful Response