Skip to content

Course Reviews API ​

Student reviews on a course, the moderation queue across the courses an admin manages, and the site-wide defaults for new courses.

PRO

Authentication ​

The student routes use PortalPolicy and are checked again inside the controller against enrolment and the course's own review settings. The moderation routes use CourseAdminPolicy, so a course creator sees their own courses, while the site-wide defaults are community-admin only.

Endpoints ​

MethodPathEditionOperationWhat it does
GET/courses/{course_id}/reviewsPROList Course ReviewsReturns a course's reviews, its rating summary, and what the caller may do with them.
POST/courses/{course_id}/reviewsPROSave Course ReviewCreates or updates the caller's review of a course.
DELETE/courses/{course_id}/reviews/{review_id}PRODelete Course ReviewDeletes one review, as its author or as a course admin.
GET/admin/course-reviewsPROList All ReviewsLists reviews across the courses the calling admin manages, for the moderation screen.
GET/admin/course-reviews/coursesPROList Reviewed CoursesLists the courses that have reviews, worst-rated first.
GET/admin/course-reviews/settingsPROGet Review SettingsReturns the site-wide review defaults applied to new courses, with the field definitions the settings form draws.
POST/admin/course-reviews/settingsPROSave Review SettingsSaves the site-wide review defaults for new courses.

FluentCommunity developer documentation