Skip to content

Question ​

osm.question · child table of Question Paper Format

Fields ​

Every record also has id, created_at and updated_at and parent.

FieldLabelTypeRules
question_noquestion notextrequired
parent_question_noparent question notext
question_textquestion textlongtext
max_marksmax marksdecimalrequired; min 0
sub_questions_allowedsub questions allowedcheckdefault false
max_sub_questions_to_attemptmax sub questions to attemptnumbermin 0
sort_ordersort ordernumber

Permissions ​

RoleCan
osm:super_adminread, create, update, delete
osm:adminread, create, update, delete
osm:evaluatorread
osm:moderatorread
osm:examinerread
osm:non_osm_operatorread

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

Edulab Bench developer documentation