Skip to content

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).

  • GET /api/v1/course_reviews - List with filters, sorting and pagination (scope courses:read)
  • GET /api/v1/course_reviews/{id} - A record by id (scope courses:read)
  • DELETE /api/v1/course_reviews/{id} - Delete or deactivate (scope courses:write)
  • POST /api/v1/course_reviews/{id}/approve - Approves the review: it shows on the course page. (scope courses:write)
  • POST /api/v1/course_reviews/{id}/reject - Rejects the review. (scope courses:write)
  • 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).
  • course_reviews.created
  • course_reviews.updated
  • course_reviews.deleted