Appearance
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.
| Field | Label | Type | Rules |
|---|---|---|---|
question_text | question text | longtext | required; max 10000 characters |
question_type | question type | select | required; one of: Single Choice, Multiple Choice, True False, Short Answer, Long Answer; default "Single Choice" |
options | options | json | |
correct_answer | correct answer | json | |
explanation | explanation | longtext | max 5000 characters |
marks | marks | decimal | default 1; min 0 |
difficulty | difficulty | select | one of: Easy, Medium, Hard |
subject | subject | link → core.subject | required |
chapter | chapter | link → lms.chapter | |
topic | topic | text | max 255 characters |
source | source | select | one of: Manual, AI Generated, Imported; default "Manual" |
course_outcome | course outcome | select | one of: CO1, CO2, CO3, CO4, CO5, CO6 |
programme_outcome | programme outcome | select | one of: PO1, PO2, PO3, PO4, PO5, PO6, PO7, PO8, PO9, PO10, PO11, PO12 |
blooms_level | blooms level | select | one of: Remember, Understand, Apply, Analyse, Evaluate, Create |
tags | tags | text | max 500 characters |
college | college | link → core.college | |
created_by | created by | link → core.user | required |
status | status | select | one of: Active, Archived; default "Active" |
Permissions
| Role | Can |
|---|---|
lms:admin | read, create, update, delete |
lms:college_admin | read, create, update, delete |
lms:hod | read, create, update, delete |
lms:faculty | read, 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