Entity · lessons
Lesson Schema
Fields
Lesson Schema
Schema for validating lesson entities in the Academy/LMS module
courseId
ID of the course this lesson belongs to
min 1 characters
title
Lesson title
1–200 characters
content
Lesson content in markdown format
min 1 characters
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
Values
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
Values
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
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/lessons— List, paginated + filterableGET /api/v1/lessons/<id>— Single entityPOST /api/v1/lessons— CreatePATCH /api/v1/lessons/<id>— Partial updateDELETE /api/v1/lessons/<id>— Soft deleteGET /api/v1/lessons/<id>/timeline— Audit + activities