Module headless_lms_server::controllers::main_frontend::chapters
source · Expand description
Controllers for requests starting with /api/v0/main-frontend/chapters
.
Functions
- Add a route for each controller in this module.
- DELETE
/api/v0/main-frontend/chapters/:chapter_id
- Delete a chapter. - POST
/api/v0/main-frontend/chapters
- Create a new course part. - DELETE
/api/v0/main-frontend/chapters/:chapter_id/image
- Removes the chapter image. - PUT
/api/v0/main-frontend/chapters/:chapter_id/image
- Sets or updates the chapter image. - PUT
/api/v0/main-frontend/chapters/:chapter_id
- Update chapter.