Appearance
Question
osm.question · child table of Question Paper Format
Fields
Every record also has id, created_at and updated_at and parent.
| Field | Label | Type | Rules |
|---|---|---|---|
question_no | question no | text | required |
parent_question_no | parent question no | text | |
question_text | question text | longtext | |
max_marks | max marks | decimal | required; min 0 |
sub_questions_allowed | sub questions allowed | check | default false |
max_sub_questions_to_attempt | max sub questions to attempt | number | min 0 |
sort_order | sort order | number |
Permissions
| Role | Can |
|---|---|
osm:super_admin | read, create, update, delete |
osm:admin | read, create, update, delete |
osm:evaluator | read |
osm:moderator | read |
osm:examiner | read |
osm:non_osm_operator | read |
API
http
GET /api/osm/question?<field>=<value>&limit=100&offset=0
POST /api/osm/question
GET /api/osm/question/:id
PATCH /api/osm/question/:id
DELETE /api/osm/question/:id