Returns the paginated list of courses the current user may manage, each with its student count and its section and lesson totals.
Unlike the portal listing this includes drafts. Filter with search, topic_slug and status (published or draft); sort with sort_by=alphabetical, otherwise newest first. Pass with_categories to receive the category list too.
Endpoint
Method:
GETPath:
/admin/coursesEdition: Core
Controller:
CourseAdminController@getCoursesRoute source:
fluent-community/Modules/Course/Http/course_api.php:22Controller source:
fluent-community/Modules/Course/Http/Controllers/CourseAdminController.phpRequires the course-creator permission; the list is scoped to courses the caller administers.
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 Admin Courses
Returns the paginated list of courses the current user may manage, each with its student count and its section and lesson totals.
Controller: CourseAdminController@getCourses
Route source: fluent-community/Modules/Course/Http/course_api.php:22
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Query Parameters
Status read via $request->getSafe() in getCourses().
Sort By read via $request->getSafe() in getCourses().
"latest"Topic Slug read via $request->getSafe() in getCourses().
Search read via $request->getSafe() in getCourses().
With Categories read via $request->get() in getCourses().
Responses
Successful response