Returns the paginated roster of a course, each student carrying their enrolment pivot and their completion percentage.
Filter with search; sort with sort_by set to created_at (enrolment date, the default), display_name or last_activity, and sort_dir. Progress is resolved for the whole page in one bulk query.
Endpoint
Method:
GETPath:
/admin/courses/{course_id}/studentsEdition: Core
Controller:
CourseAdminController@getCourseStudentsRoute source:
fluent-community/Modules/Course/Http/course_api.php:29Controller source:
fluent-community/Modules/Course/Http/Controllers/CourseAdminController.phpRequires the course-creator permission and management access to this course.
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 List Course Students
Returns the paginated roster of a course, each student carrying their enrolment pivot and their completion percentage.
Controller: CourseAdminController@getCourseStudents
Route source: fluent-community/Modules/Course/Http/course_api.php:29
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Course ID extracted from the URL path.
Query Parameters
Search read via $request->getSafe() in getCourseStudents().
Sort By read via $request->getSafe() in getCourseStudents().
"created_at"Sort Dir read via $request->getSafe() in getCourseStudents().
Responses
Successful response