Module pages

Expand description

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

StructsΒ§

CourseMaterialPagesApiDoc πŸ”’

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 πŸ”’