Returns the paginated course catalogue with each course fully expanded — sections, per-lesson lock state and the current user progress track — in a single call.
This is markedly heavier than list-courses because every course is run through the same processing as the single-course endpoint. Non-moderators see public and private courses plus any course they are enrolled in or created; moderators see everything published.
Endpoint
Method:
GETPath:
/courses/all-coursesEdition: Core
Controller:
CourseController@getAllCoursesRoute source:
fluent-community/Modules/Course/Http/course_api.php:18Controller source:
fluent-community/Modules/Course/Http/Controllers/CourseController.phpRequires the
course_modulefeature to be enabled.Expect a slow response on large catalogues; prefer
list-coursesfor listing screens.
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 All Courses
Returns the paginated course catalogue with each course fully expanded — sections, per-lesson lock state and the current user progress track — in a single call.
Controller: CourseController@getAllCourses
Route source: fluent-community/Modules/Course/Http/course_api.php:18
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response