Returns a paginated, newest-first list of every comment left on lessons within one course, for the course management screen.
Each row carries the author profile, a trimmed parent lesson reference and a liked flag for the current user. Member email addresses are explicitly hidden. Pending comments appear only when content moderation is enabled and the caller can moderate.
Requires a course admin for this course, or a WordPress user with manage_options.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
Returns a paginated, newest-first list of every comment left on lessons within one course, for the course management screen.
Each row carries the author profile, a trimmed parent lesson reference and a
likedflag for the current user. Member email addresses are explicitly hidden. Pending comments appear only when content moderation is enabled and the caller can moderate.Endpoint
Method:
GETPath:
/admin/courses/{course_id}/commentsEdition: Core
Controller:
CourseAdminController@getCourseCommentsRoute source:
fluent-community/Modules/Course/Http/course_api.php:28Controller source:
fluent-community/Modules/Course/Http/Controllers/CourseAdminController.phpRequires a course admin for this course, or a WordPress user with
manage_options.Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET Get Course Comments
Returns a paginated, newest-first list of every comment left on lessons within one course, for the course management screen.
Controller:
CourseAdminController@getCourseCommentsRoute source:
fluent-community/Modules/Course/Http/course_api.php:28Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Course ID extracted from the URL path.
Responses
Successful response
Playground
Authorization
Variables
Samples