Entity · lessons
Lesson Schema
Velden
Lesson Schema
Schema for validating lesson entities in the Academy/LMS module
courseId
ID of the course this lesson belongs to
min. 1 tekens
title
Lesson title
1–200 tekens
content
Lesson content in markdown format
min. 1 tekens
order
Order of lesson in the course
≥ 1
duration
Lesson duration in minutes
≥ 1
videoUrl
URL of lesson video
nullable
type
Type of lesson content
Waarden
videotextquizinteractivenullable
isPreview
Whether lesson can be accessed without enrollment
nullable
unitCount
Cached count of learning units in this section
≥ 0nullable
completionMode
Whether units must be completed in order (sequential) or freely
Waarden
sequentialfreenullable
isLocked
Whether this section is locked until the previous section is completed
nullable
requiredModule
Module ID required to view this lesson (for onboarding filtering)
nullable
Geen velden komen overeen met het filter.
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/lessons— Lijst, gepagineerd + filterbaarGET /api/v1/lessons/<id>— Enkele entityPOST /api/v1/lessons— AanmakenPATCH /api/v1/lessons/<id>— Gedeeltelijke updateDELETE /api/v1/lessons/<id>— Soft-deleteGET /api/v1/lessons/<id>/timeline— Audit + activiteiten