Expand description

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

Functionsยง

  • get_by_exam_id ๐Ÿ”’
    GET /api/v0/course-material/pages/exam/{page_id}
  • 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 /api/v0/course-material/page/{page_id}
  • 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.