Expand description

Controllers for requests starting with /api/v0/cms/pages.

Functions

  • Add a route for each controller in this module.
  • get_page 🔒
    GET /api/v0/cms/pages/:page_id - Get a page with exercises and exercise tasks by id.
  • GET /api/v0/cms/pages/:page_id/info - Get a pages’s course id, course name, organization slug
  • GET /api/v0/cms/pages/:page_id/page-navigation - tells what’s the next page, previous page, and the chapter front page given a page id.
  • PUT /api/v0/cms/pages/:page_id - Update a page by id.