Skip to content

Chapter ​

lms.chapter · every change is kept in the audit log · numbered {subject}-{chapter_number}

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
subjectsubjectlink → core.subjectrequired
collegecollegelink → core.college
chapter_numberchapter numbernumbermin 1
titletitletextrequired; max 255 characters
descriptiondescriptionlongtextmax 5000 characters
objectiveobjectivelongtextmax 5000 characters
display_orderdisplay ordernumbermin 0
chapter_pdfchapter pdffile
is_activeis activecheckdefault true

Permissions ​

RoleCan
lms:adminread, create, update, delete
lms:college_adminread, create, update, delete
lms:hodread, create, update, delete
lms:facultyread, create, update
lms:studentread
lms:parentread

API ​

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

Edulab Bench developer documentation