Retained flyer snapshots, and restoring one.
List a flyer's versions
List the retained document snapshots of a flyer (docs/adr/0004), newest first. The document itself is not included in the list — only the restore endpoint needs it.
path Parameters
flyerIdquery Parameters
pageperPagesortorderList a flyer's versions › Responses
FlyerVersion list
Read a flyer version
Returns one retained snapshot including its document, so a version can be inspected before it is restored. The list endpoint omits the document.
path Parameters
flyerIdflyerVersionIdRead a flyer version › Responses
The version
idflyerIdcreatedAtdocumentNull in list responses on purpose — twenty documents in one payload is waste, and the list only ever renders timestamps. The single-version endpoint fills it, so a version can be inspected before it is restored.
Restore a flyer version
Copies the version's document onto the flyer. The pre-restore document is appended as a new version first, so a restore is itself undoable. The body carries the flyer's own version counter as an optimistic-lock token — a restore replaces the whole document, so a stale counter answers 409 instead of overwriting a colleague's in-flight edit. Returns the updated flyer.
path Parameters
flyerIdflyerVersionIdRestore a flyer version › Responses
Flyer restored to the version's document

