Review, approve and export change reports as PDF
A publication change report can now be reviewed before it leaves your organisation, exported as a PDF once it is approved, and every change to it is recorded.
- Review. A report is a draft until its creator or a tenant administrator submits it
(
POST …/change-report/submit). A tenant administrator other than the submitter approves it, or rejects it with a note. - PDF export.
GET …/change-report/pdfreturns an approved report as a PDF: its header, body and footnote, with your edits. The same report always gives the same file, and its SHA-256 is returned inX-Content-SHA256and stored on the report aslastPdfSha256. - Approval covers the text. Editing or regenerating a report returns it to draft, so the PDF is always what was approved. A report that is not approved cannot be exported (409).
- Audit log. Report edits, regenerations, submissions, approvals, rejections and PDF exports,
and template creation and default changes, are written to an append-only log. Tenant
administrators read it at
GET /v1/tenants/{tenant}/change-report-audit, filtered by action, user, project, version and date. - Entitlement. These belong to the
change-report-enterprisefeature flag. It is enforced only when the REST API runs withAPIOME_CHANGE_REPORT_ENTERPRISE_GATING=true; by default every tenant has them. See Feature flags.
In the app, the Change report tab of Versions shows the review
state, the buttons and the Audit log. That tab is behind FEATURE_GITLIKE, which is off in
shipped builds.
Apply migration V370__change_report_enterprise_2705.sql before running this version of the REST
API.
