Returns the post topics defined for the community, along with every space they can be attached to.
Pass optionsOnly for the trimmed id/title/description shape used by pickers; that variant also skips the space list. A search term filters topics by title, case-insensitively.
Endpoint
Method:
GETPath:
/admin/topicsEdition: PRO
Controller:
ProAdminController@getTopicsRoute source:
fluent-community-pro/app/Http/Routes/api.php:42Controller source:
fluent-community-pro/app/Http/Controllers/ProAdminController.phpRequires a community admin, a course admin, or the admin role in the space named by
space_id; course creators may call theoptionsOnlyvariant.Requires FluentCommunity Pro.
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 Topics
Returns the post topics defined for the community, along with every space they can be attached to.
Controller: ProAdminController@getTopics
Route source: fluent-community-pro/app/Http/Routes/api.php:42
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Query Parameters
Search read via $request->getSafe() in getTopics().
Responses
Successful response