Course reviews
Stars (1-5) and text, with a state (pending, approved, rejected). Only approved ones show on the site. Actions: approve, reject.
Module: Courses (courses).
Endpoints
Section titled “Endpoints”GET /api/v1/course_reviews- List with filters, sorting and pagination (scopecourses:read)GET /api/v1/course_reviews/{id}- A record by id (scopecourses:read)DELETE /api/v1/course_reviews/{id}- Delete or deactivate (scopecourses:write)POST /api/v1/course_reviews/{id}/approve- Approves the review: it shows on the course page. (scopecourses:write)POST /api/v1/course_reviews/{id}/reject- Rejects the review. (scopecourses:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).course_id(string, uuid; read)party_id(string, uuid; read)author_name(string; read)rating(integer; read)body(string; read)status(string; read)moderated_by(string; read)moderated_at(string, date-time; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).
Events
Section titled “Events”course_reviews.createdcourse_reviews.updatedcourse_reviews.deleted