changes
Check whether a design changed in the editor since your last revision, list newer edits with diff notes, and find the correct parent revision before making your next edit.
Instructions
Check whether the user changed a design in the browser editor since you last touched it.
Pass the revision you believe is current — normally the one your last edit returned. The reply says whether it is still the design head and lists what was written since, oldest first, with each revision's diff note and whether it came from the editor (origin: "editor") or from your own edit.
Call this before your first edit of a design whenever the user may have had the view page open: edit REJECTS a parent whose path to the head contains one of the user's editor saves, so this is how you find the parent to build on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | Revision you believe is current — normally the one your last `edit` returned. |