Module chapters

Source
Expand description

Controllers for requests starting with /api/v0/course_material/chapters.

Functionsยง

_add_routes
Add a route for each controller in this module.
get_chapters_exercises ๐Ÿ”’
GET /api/v0/course-material/chapters/:chapter_id/exercises - Returns a list of pages and its exercises in chapter.
get_chapters_pages_without_main_frontpage ๐Ÿ”’
GET /api/v0/course-material/chapters/:chapter_id/pages-exclude-mainfrontpage - Returns a list of pages in chapter mainfrontpage excluded.
get_public_chapter_pages ๐Ÿ”’
GET /api/v0/course-material/chapters/:chapter_id/pages - Returns a list of pages in chapter.