API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · audit_catalog_versions

Audit Catalog Version Schema

Schema-ID
audit_catalog_version
Collection
audit_catalog_versions
Permissions
  • Lesenaudit_catalog_version_view
  • Anlegenaudit_catalog_version_create
  • Ändernaudit_catalog_version_edit
  • Löschenaudit_catalog_version_delete

Felder

Audit Catalog Version Schema

audit_catalog_versions4 Permissions

Schema for immutable versioned snapshots of audit questionnaires

catalogIduuiderforderlich

FK to audit_catalog

versionLabelstringerforderlich

Version label (e.g. "1.0", "2024-Q1")

1–50 Zeichen
statusstringerforderlich

Version lifecycle status

DRAFTACTIVEARCHIVED
questionsobject[]erforderlich
Default: []
questionIduuiderforderlich

Stable unique identifier for answer references

sortOrderintegererforderlich

Sort order within the questionnaire

≥ 0
categorystringerforderlich

Question grouping category (e.g. "Netzwerk", "Zugriffsschutz")

1–100 Zeichen
questionTextstringerforderlich

The question text

1–2000 Zeichen
hintTextstringoptional

Help text for the auditor

max 2000 Zeichennullable
questionTypestringerforderlich

Determines how the question is rendered and answered

textyes_nosingle_choicemulti_choicenumberdate
optionsstring[]optional

Answer options for single_choice / multi_choice questions

nullable
prioritystringerforderlich

Risk priority / severity indicator

CRITICALHIGHMEDIUMLOW
weightnumberoptional

Scoring weight (1-10). Defaults to priority-based if not set.

1 – 10nullable
complianceRefstringoptional

Reference to compliance standard section (e.g. "NIS2 Art. 21(2)(a)")

max 200 Zeichennullable
requiredbooleanoptional

Whether this question must be answered before assessment completion

Default: falsenullable
questionCountintegeroptional

Denormalized count of questions in this version

≥ 0Default: 0

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/audit_catalog_versions — Liste, paginiert + filterbar
  • GET /api/v1/audit_catalog_versions/<id> — Einzelne Entity
  • POST /api/v1/audit_catalog_versions — Anlegen
  • PATCH /api/v1/audit_catalog_versions/<id> — Teil-Update
  • DELETE /api/v1/audit_catalog_versions/<id> — Soft-Delete
  • GET /api/v1/audit_catalog_versions/<id>/timeline — Audit + Aktivitäten

Suche