Skip to main content

Change report templates

Generated from apiome-rest/openapi.yaml (API version 1.204.1) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: change-report-templates · 4 operations

PUT /v1/tenants/{tenant_slug}/change-report-template-default​

Put Tenant Change Report Template Default

Set the tenant default template pointer. Tenant administrators only (JWT). templateVersionId: null clears the tenant default (fall back to system default).

Operation id: put_tenant_change_report_template_default_v1_tenants__tenant_slug__change_report_template_default_put

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for put tenant change report template default.

Responses

StatusDescriptionBody
200Successful response for put tenant change report template default.application/json map of string
422Validation Errorapplication/json HTTPValidationError

GET /v1/tenants/{tenant_slug}/change-report-template-versions​

List Change Report Template Versions

List system templates and templates owned by this tenant (ids + semver; not full bodies).

Operation id: list_change_report_template_versions_v1_tenants__tenant_slug__change_report_template_versions_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list change report template versions.application/json array of ChangeReportTemplateVersionSummary
422Validation Errorapplication/json HTTPValidationError

POST /v1/tenants/{tenant_slug}/change-report-template-versions​

Create Change Report Template Version

Create a tenant-scoped template triple (Mustache). Tenant administrators only (JWT).

Invalid templates return 400 with a short validation message.

Operation id: create_change_report_template_version_v1_tenants__tenant_slug__change_report_template_versions_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for create change report template version.

Responses

StatusDescriptionBody
200Successful response for create change report template version.application/json ChangeReportTemplateVersionOut
422Validation Errorapplication/json HTTPValidationError

PUT /v1/tenants/{tenant_slug}/projects/{project_id}/change-report-template-default​

Put Project Change Report Template Default

Set project-level template override. JWT — project creator or tenant administrator.

templateVersionId: null clears the project override.

Operation id: put_project_change_report_template_default_v1_tenants__tenant_slug__projects__project_id__change_report_template_default_put

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
project_idpathstringyesProject identifier that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for put project change report template default.

Responses

StatusDescriptionBody
200Successful response for put project change report template default.application/json map of string
422Validation Errorapplication/json HTTPValidationError

Schemas used​

ChangeReportTemplateDefaultPut​

Set tenant or project default template pointer; null clears override.

PropertyTypeRequiredDescription
templateVersionIdstring or nullnoTemplate Version ID.

ChangeReportTemplateVersionCreate​

ChangeReportTemplateVersionCreate schema.

PropertyTypeRequiredDescription
semverstringyesSemver.
headerTemplatestringyesHeader Template.
bodyTemplatestringyesBody Template.
footnoteTemplatestringyesFootnote Template.

ChangeReportTemplateVersionOut​

ChangeReportTemplateVersionOut schema.

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
semverstringyesSemver.
ownerTenantIdstring or nullnoOwner Tenant ID.
headerTemplatestringyesHeader Template.
bodyTemplatestringyesBody Template.
footnoteTemplatestringyesFootnote Template.
createdAtstring or nullnoCreated At.
createdBystring or nullnoCreated By.

ChangeReportTemplateVersionSummary​

ChangeReportTemplateVersionSummary schema.

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
semverstringyesSemver.
ownerTenantIdstring or nullnoOwner Tenant ID.
createdAtstring or nullnoCreated At.

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.