Expand description

Controllers for requests starting with /api/v0/course-material/pages.

Functionsยง

_add_routes
get_by_exam_id ๐Ÿ”’
GET /api/v0/course-material/pages/exam/{page_id}
get_chapter_and_course_information ๐Ÿ”’
GET /api/v0/course-material/pages/:page_id/chapter-and-course-information - gives the pageโ€™s chapter and course information โ€“ useful for the breadcrumbs
get_chapter_front_page ๐Ÿ”’
GET /api/v0/course-material/page/{page_id}
get_page_navigation ๐Ÿ”’
GET /api/v0/course-material/pages/:page_id/page-navigation - tells whatโ€™s the next page, previous page, and the chapter front page given a page id.
get_url_path ๐Ÿ”’
GET /api/v0/course-material/pages/:page_id/url-path - returns the pageโ€™s URL path.
is_chapter_front_page ๐Ÿ”’