Expand description

Controllers for requests starting with /api/v0/main-frontend/pages.

Functions

  • Add a route for each controller in this module.
  • DELETE /api/v0/main-frontend/pages/:page_id - Delete a page, related exercises, and related exercise tasks by id.
  • GET /api/v0/main-fronted/pages/:page_id/info - Get a pages’s course id, course name, organization slug
  • history 🔒
    GET /api/v0/main-frontend/pages/:page_id/history
  • GET /api/v0/main-frontend/pages/:page_id/history_count
  • POST /api/v0/main-frontend/pages - Create a new page.
  • restore 🔒
    POST /api/v0/main-frontend/pages/:page_id/restore
  • POST /api/v0/main-frontend/pages/:page_id/page-details - Update pages title and url_path.