Expand description
Controllers for requests starting with /api/v0/main-frontend/pages
.
FunctionsΒ§
- Add a route for each controller in this module.
- delete_
page πDELETE/api/v0/main-frontend/pages/:page_id
- Delete a page, related exercises, and related exercise tasks by id. - GET
/api/v0/main-frontend/pages/:course_id/all-course-pages-for-course
- Get all pages of a course - get_
page_ πinfo 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
- history_
count πGET /api/v0/main-frontend/pages/:page_id/history_count - post_
new_ πpage POST/api/v0/main-frontend/pages
- Create a new page. - restore πPOST /api/v0/main-frontend/pages/:page_id/restore
- update_
page_ πdetails POST/api/v0/main-frontend/pages/:page_id/page-details
- Update pages title and url_path.