Appearance
Chapter
lms.chapter · every change is kept in the audit log · numbered {subject}-{chapter_number}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
subject | subject | link → core.subject | required |
college | college | link → core.college | |
chapter_number | chapter number | number | min 1 |
title | title | text | required; max 255 characters |
description | description | longtext | max 5000 characters |
objective | objective | longtext | max 5000 characters |
display_order | display order | number | min 0 |
chapter_pdf | chapter pdf | file | |
is_active | is active | check | default true |
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 |
lms:student | read |
lms:parent | read |
API
http
GET /api/lms/chapter?<field>=<value>&limit=100&offset=0
POST /api/lms/chapter
GET /api/lms/chapter/:id
PATCH /api/lms/chapter/:id
DELETE /api/lms/chapter/:id