API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · courses

Course Schema

Schema-ID
course
Collection
courses
Permissions
  • Lezencourse_view
  • Aanmakencourse_create
  • Wijzigencourse_edit
  • Verwijderencourse_delete

Velden

Course Schema

courses4 permissions

Schema for validating course entities in the Academy/LMS module

titlestringvereist

Course title

1–200 tekens
descriptionstringoptioneel

Course description

max. 2000 tekensnullable
categorystringvereist

Course category

1–100 tekens
trainingCodestringoptioneel

Optional internal training code/identifier (free text, intern/extern)

max. 50 tekensnullable
averageRatingnumberoptioneel

Denormalised mean of completion-feedback ratings (1–5), null if none yet (WP-B).

0 – 5nullable
ratingCountnumberoptioneel

Number of completion-feedback ratings received (WP-B).

≥ 0nullable
npsScorenumberoptioneel

Derived NPS (-100..100) from completion-feedback recommendation scores (WP-B).

-100 – 100nullable
lastRatingAtdatetimeoptioneel

Timestamp of the most recent completion feedback (WP-B).

nullable
courseMaterialsobject[]optioneel

Course-level materials visible to all enrolled participants (WP-C).

nullable
idstringvereist
fileIdstringvereist
titlestringvereist
1–300 tekens
descriptionstringoptioneel
max. 500 tekensnullable
sortOrdernumberoptioneel
nullable
mimeTypestringoptioneel
max. 200 tekensnullable
sizeBytesnumberoptioneel
nullable
uploadedAtdatetimeoptioneel
nullable
courseInternalDocumentsobject[]optioneel

Internal course documents visible only to instructors/admins (WP-C).

nullable
idstringvereist
fileIdstringvereist
titlestringvereist
1–300 tekens
descriptionstringoptioneel
max. 500 tekensnullable
sortOrdernumberoptioneel
nullable
mimeTypestringoptioneel
max. 200 tekensnullable
sizeBytesnumberoptioneel
nullable
uploadedAtdatetimeoptioneel
nullable
lessonsstring[]optioneel

Array of lesson IDs

nullable
isPublishedbooleanvereist

Whether the course is published and visible to students

durationnumbervereist

Course duration in minutes

≥ 1
levelstringvereist

Course difficulty level

beginnerintermediateadvanced
authorIdstringoptioneel

ID of the course author/instructor

nullable
maxEnrollmentsnumberoptioneel

Maximum number of students that can enroll

≥ 1nullable
requiresEnrollmentApprovalbooleanoptioneel

When true, self-enrollment requires the team lead to approve before the enrollment becomes active (WP-D).

nullable
prerequisitesstring[]optioneel

Array of prerequisite course IDs

nullable
skillRequirementsobject[]optioneel

Recommended skills (with minimum level) before enrolling. Advisory only — enrollment is not blocked, the learner is warned (WP-A).

nullable
skillIdstringvereist
minimumLevelstringvereist
BEGINNERINTERMEDIATEADVANCEDEXPERT
skillIduuidoptioneel

Linked skill definition UUID — the employee skill that is auto-upgraded on course completion (WP-A, ADR 0272). Acts as the fallback for self-enrollments that carry no training_assignment.skillId.

nullable
certificateTemplateIdstringoptioneel

ID of the certificate template for completion

nullable
certificateDesignobjectoptioneel

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

nullable
templatestringoptioneel
modernclassicminimal
accentColorstringoptioneel
Patternnullable
titlestringoptioneel
max. 60 tekensnullable
statementstringoptioneel
max. 160 tekensnullable
descriptionstringoptioneel
max. 280 tekensnullable
signerNamestringoptioneel
max. 80 tekensnullable
signerRolestringoptioneel
max. 80 tekensnullable
signatureFileIdstringoptioneel
Patternnullable
logoFileIdstringoptioneel
Patternnullable
showGradebooleanoptioneel
showHoursbooleanoptioneel
showQrbooleanoptioneel
validityMonthsintegeroptioneel
1 – 240nullable
pricenumberoptioneel

Course price (0 for free courses)

≥ 0nullable
tagsstring[]optioneel

Course tags for categorization and search

nullable
isSystemCoursebooleanoptioneel

System-managed course that bypasses module licensing

nullable
targetAudiencestringoptioneel

Target audience for this course (e.g. technicians, sales, new employees)

max. 500 tekensnullable
gradingEnabledbooleanoptioneel

Whether grading/gradebook is enabled for this course

nullable
passingScorenumberoptioneel

Minimum score percentage required to pass the course

0 – 100nullable
certificateModestringoptioneel

How certificates are issued: auto on completion, manual by instructor, or none

automanualnone
nullable
completionModestringoptioneel

How course completion is determined

all_unitspercentagemanual
nullable
navigationModestringoptioneel

How learners move through the course: sequential (each unit unlocks the next, default when unset) or free (any unit can be opened, skipped units stay open for completion)

sequentialfreenull
nullable
completionPercentnumberoptioneel

Percentage of units required for completion (if completionMode=percentage)

0 – 100nullable
courseTypestringoptioneel

Course type for special handling (e.g. uvv_training links to fleet module)

generaluvv_trainingonboardingcompliance
nullable
coverImageFileIdstringoptioneel

File ID of the course cover image

nullable
contentVersionintegeroptioneel

Monotonic content version. Bumped via `POST /courses/:id/publish-version` when the author releases a substantive content change so in-flight enrollees can see "course was updated since you started" prompts.

≥ 1Default: 1
contentVersionPublishedAtdatetimeoptioneel

When the current contentVersion was published.

Default: nullnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/courses — Lijst, gepagineerd + filterbaar
  • GET /api/v1/courses/<id> — Enkele entity
  • POST /api/v1/courses — Aanmaken
  • PATCH /api/v1/courses/<id> — Gedeeltelijke update
  • DELETE /api/v1/courses/<id> — Soft-delete
  • GET /api/v1/courses/<id>/timeline — Audit + activiteiten

Zoeken