Expand description
Controllers for requests starting with /api/v0/main-frontend/chapters
.
Functionsยง
- Add a route for each controller in this module.
- delete_
chapter ๐DELETE/api/v0/main-frontend/chapters/:chapter_id
- Delete a chapter. - GET `/api/v0/main-frontend/chapters/{course_id}/all-chapters-for-course - Gets all chapters with a course_id
- post_
new_ ๐chapter POST/api/v0/main-frontend/chapters
- Create a new course part. - remove_
chapter_ ๐image DELETE/api/v0/main-frontend/chapters/:chapter_id/image
- Removes the chapter image. - set_
chapter_ ๐image PUT/api/v0/main-frontend/chapters/:chapter_id/image
- Sets or updates the chapter image. - update_
chapter ๐PUT/api/v0/main-frontend/chapters/:chapter_id
- Update chapter.