Lessons
Lessons: chapter, title, text as sanitized HTML, video and free preview. Filter with filter[course_id].
Module: Courses (courses).
Endpoints
Section titled “Endpoints”GET /api/v1/course_lessons- List with filters, sorting and pagination (scopecourses:read)GET /api/v1/course_lessons/{id}- A record by id (scopecourses:read)POST /api/v1/course_lessons- Create a record (scopecourses:write)PATCH /api/v1/course_lessons/{id}- Modify the submitted fields (scopecourses:write)DELETE /api/v1/course_lessons/{id}- Delete or deactivate (scopecourses:write)POST /api/v1/course_lessons/{id}/move- Moves one position up or down. (scopecourses:write)POST /api/v1/course_lessons/{id}/duplicate- Copies the lesson, right after the original. (scopecourses:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).course_id(string, uuid; read)section_id(string; write, required)title(string; write, required)body(string; write)video_id(string; write)is_preview(boolean; write)position(integer; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).
Events
Section titled “Events”course_lessons.createdcourse_lessons.updatedcourse_lessons.deleted