API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen
Entity · certificates

Certificate Schema

Schema-ID
certificate
Collection
certificates
Permissions
  • Lesencertificate_view
  • Anlegencertificate_create
  • Änderncertificate_edit
  • Löschencertificate_delete
Beziehungen

Felder

Certificate Schema

certificates4 Permissions

Schema for validating completion certificates in the Academy/LMS module

documentLanguagestringoptional

Language the certificate PDF is rendered in. Decided when the certificate is issued and never re-derived. Missing = de.

deenesfrnlnull
nullable
courseIdstringerforderlich

ID of the completed course

min 1 Zeichen
userIdstringerforderlich

ID of the student who earned the certificate

min 1 Zeichenread-only
enrollmentIdstringerforderlich

ID of the enrollment record

min 1 Zeichenread-only
certificateNumberstringerforderlich

Unique certificate number

min 1 Zeichenread-only
issuedAtdatetimeerforderlich

Date and time when the certificate was issued

validUntildatetimeoptional

Certificate expiration date (if applicable)

nullable
templateIdstringoptional

ID of the certificate template used

nullable
consumerTenantIdstringoptional

Tenant the learner belongs to. Null for MSP-internal certificates; set for cross-tenant.

read-onlynullable
courseTenantIdstringoptional

Platform courses only (ADR 1074, Weg b): tenant holding the course content. The certificate itself lives in the learner tenant.

read-onlynullable
consumerUserIdstringoptional

users._id of the learner in the consumer tenant (ADR 0693). Null for MSP-internal certificates.

read-onlynullable
designobjectoptional

Visual design of the completion certificate. Missing = default design.

read-onlynullable
templatestringoptional
modernclassicminimal
accentColorstringoptional
Patternnullable
titlestringoptional
max 60 Zeichennullable
statementstringoptional
max 160 Zeichennullable
descriptionstringoptional
max 280 Zeichennullable
signerNamestringoptional
max 80 Zeichennullable
signerRolestringoptional
max 80 Zeichennullable
signatureFileIdstringoptional
Patternnullable
logoFileIdstringoptional
Patternnullable
showGradebooleanoptional
showHoursbooleanoptional
showQrbooleanoptional
validityMonthsintegeroptional
1 – 240nullable
issuerNamestringoptional

Issuer as printed on the certificate, shown on the public verification page.

read-onlynullable
verificationTokenstringoptional

Capability token in the QR code of the certificate. Never returned by generic reads.

read-onlynullable
metadataobjecterforderlich
courseNamestringerforderlich

Name of the completed course

min 1 Zeichen
studentNamestringerforderlich

Name of the student who completed the course

min 1 Zeichen
instructorNamestringoptional

Name of the course instructor

nullable
completionDatedatetimeerforderlich

Date when the course was completed

gradestringoptional

Grade or performance rating

nullable
hoursnumbererforderlich

Total course hours for certification

≥ 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/certificates — Liste, paginiert + filterbar
  • GET /api/v1/certificates/<id> — Einzelne Entity
  • POST /api/v1/certificates — Anlegen
  • PATCH /api/v1/certificates/<id> — Teil-Update
  • DELETE /api/v1/certificates/<id> — Soft-Delete
  • GET /api/v1/certificates/<id>/timeline — Audit + Aktivitäten

Suche