Skip to content

Cohort ​

lms.cohort

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
namenametextrequired; max 150 characters
collegecollegelink → core.collegerequired
batchesbatchestable of cohort_batch
statusstatusselectone of: Active, Inactive; default "Active"

Unique together: college + name

Permissions ​

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

API ​

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

Edulab Bench developer documentation