Entity · lessons
Lesson Schema
Felder
Lesson Schema
Schema for validating lesson entities in the Academy/LMS module
courseId
ID of the course this lesson belongs to
min 1 Zeichen
title
Lesson title
1–200 Zeichen
content
Lesson content in markdown format
min 1 Zeichen
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
Werte
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
Werte
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
Keine Felder passen zum Filter.
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/lessons— Liste, paginiert + filterbarGET /api/v1/lessons/<id>— Einzelne EntityPOST /api/v1/lessons— AnlegenPATCH /api/v1/lessons/<id>— Teil-UpdateDELETE /api/v1/lessons/<id>— Soft-DeleteGET /api/v1/lessons/<id>/timeline— Audit + Aktivitäten