Skip to content

Study Material ​

lms.study_material · every change is kept in the audit log · numbered MAT-{YYYY}-{#####}

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
titletitletextrequired; max 255 characters
descriptiondescriptionlongtextmax 10000 characters
material_typematerial typeselectrequired; one of: Note, Syllabus, Assignment, Video, Link, Reference, Library Topic; default "Note"
subjectsubjectlink → core.subjectrequired
chapterchapterlink → lms.chapter
batchbatchlink → lms.batch
semester_numbersemester numbernumbermin 1; max 12
collegecollegelink → core.college
divisionsdivisionstable of material_division
recipientsrecipientstable of material_recipient
attachmentattachmentfile
video_urlvideo urltextmax 500 characters
external_linksexternal linksjson
tagstagstextmax 500 characters
due_datedue datedatetime
accepting_submissionsaccepting submissionscheckdefault false
total_markstotal marksnumbermin 0
course_outcomecourse outcomeselectone of: CO1, CO2, CO3, CO4, CO5, CO6
programme_outcomeprogramme outcomeselectone of: PO1, PO2, PO3, PO4, PO5, PO6, PO7, PO8, PO9, PO10, PO11, PO12
blooms_levelblooms levelselectone of: Remember, Understand, Apply, Analyse, Evaluate, Create
approval_statusapproval statusselectone of: Approved, Pending, Rejected; default "Approved"
display_orderdisplay ordernumbermin 0
facultyfacultylink → core.userrequired
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, delete — only own rows (via faculty)
lms:studentread
lms:parentread

API ​

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

Edulab Bench developer documentation