Expand description
Controllers for requests starting with /api/v0/main-frontend/chapters
.
Functionsยง
- _add_
routes - Add a route for each controller in this module.
- delete_
chapter ๐ - DELETE
/api/v0/main-frontend/chapters/:chapter_id
- Delete a chapter. - get_
all_ ๐chapters_ by_ course_ id - 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.