Lesson attachments
Gallery documents linked to lessons (media_id). Filter with filter[lesson_id]. POST links a document, DELETE removes it from the lesson (it stays in the Gallery).
Module: Courses (courses).
Endpoints
Section titled “Endpoints”GET /api/v1/course_lesson_files- List with filters, sorting and pagination (scopecourses:read)GET /api/v1/course_lesson_files/{id}- A record by id (scopecourses:read)POST /api/v1/course_lesson_files- Create a record (scopecourses:write)DELETE /api/v1/course_lesson_files/{id}- Delete or deactivate (scopecourses:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).lesson_id(string; write, required)media_id(string; write, required)created_by(string; 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_lesson_files.createdcourse_lesson_files.updatedcourse_lesson_files.deleted