Skip to content

Content Progress ​

lms.content_progress

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
studentstudentlink → core.studentrequired
content_typecontent typeselectrequired; one of: Study Material, Chapter PDF, Video, AI Study Pack, AI Tutor Topic, Previous Paper
study_materialstudy materiallink → lms.study_material
chapterchapterlink → lms.chapter
ai_study_packai study packlink → lms.ai_study_pack
tutor_topictutor topiclink → lms.ai_tutor_topic
subjectsubjectlink → core.subject
view_countview countnumberdefault 0; min 0
percent_completepercent completedecimaldefault 0; min 0; max 100
seconds_spentseconds spentnumberdefault 0; min 0
first_viewed_atfirst viewed atdatetime
last_viewed_atlast viewed atdatetime
completed_atcompleted atdatetime

Unique together: student + content_type + study_material + chapter + ai_study_pack + tutor_topic

Permissions ​

RoleCan
lms:adminread
lms:college_adminread
lms:hodread
lms:facultyread
lms:studentread, create, update — only own rows (via student)
lms:parentread — only own rows (via student)

API ​

http
GET    /api/lms/content_progress?<field>=<value>&limit=100&offset=0
POST   /api/lms/content_progress
GET    /api/lms/content_progress/:id
PATCH  /api/lms/content_progress/:id
DELETE /api/lms/content_progress/:id

Edulab Bench developer documentation