Templates Version history
Version history · Invoice layout
Every version is immutable once published. Changes create a new draft.
| Version | Status | Author | Date | Fingerprint | |
|---|---|---|---|---|---|
| v4 | Published | Maya Ruiz | Jul 20 | a91f…c4d2 | |
| v3 | Archived | Maya Ruiz | Jun 2 | 77b0…19ac | |
| v2 | Archived | Dan Kowalski | Apr 14 | 2e5c…88f1 | |
| v1 | Archived | Maya Ruiz | Feb 3 | 0aa4…31d9 |
About this page
Every saved version of a template: drafts in progress, the published one, and retired history. Nothing is ever overwritten in place — you can always see what changed and roll back.
Behind this page/templates/:templateKey/versions · CanManageTemplates
Retrieve
sp_GetTemplateVersions filtered by template key returns the full version timeline with author, dates, and status.Save
Read-only. Each fingerprint is computed byfn_Marketplace_TemplateFingerprint at publish time.Success
- Exactly one Published version at a time.
- Fingerprints pin marketplace installs.
- Older versions stay Archived and immutable.
CLI handoff
Implement this scaffold from the structured contract, then remove hard-coded preview rows. The source of truth is CLI Handoff and admin-cli-manifest.json.
Page IDtemplate-version-history
Route/templates/:templateKey/versions
AccessCanManageTemplates
Statuscatalog-schema-ready-content-not-seeded
Server-inject identity and scope values; never trust browser-supplied account, app, tenant, user, entitlement, price, or permission identifiers. Preserve the loading, empty, forbidden, failed, retrying, and completed states shown by the preview.