Skip to content

Question Bank Item ​

lms.question_bank_item · every change is kept in the audit log

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
question_textquestion textlongtextrequired; max 10000 characters
question_typequestion typeselectrequired; one of: Single Choice, Multiple Choice, True False, Short Answer, Long Answer; default "Single Choice"
optionsoptionsjson
correct_answercorrect answerjson
explanationexplanationlongtextmax 5000 characters
marksmarksdecimaldefault 1; min 0
difficultydifficultyselectone of: Easy, Medium, Hard
subjectsubjectlink → core.subjectrequired
chapterchapterlink → lms.chapter
topictopictextmax 255 characters
sourcesourceselectone of: Manual, AI Generated, Imported; default "Manual"
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
tagstagstextmax 500 characters
collegecollegelink → core.college
created_bycreated bylink → core.userrequired
statusstatusselectone of: Active, Archived; default "Active"

Permissions ​

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

API ​

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

Edulab Bench developer documentation