Returns the active light and dark colour schema selection alongside the full catalogue of available schemas.
Endpoint
Method:
GETPath:
/settings/color-configEdition: Core
Controller:
SettingController@getColorConfigRoute source:
fluent-community/app/Http/Routes/api.php:163Controller source:
fluent-community/app/Http/Controllers/SettingController.phpRequires the FluentCommunity community-admin permission (or a WordPress super admin).
Reading is available in core, but saving a colour configuration is a Pro endpoint.
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 Color Config
Returns the active light and dark colour schema selection alongside the full catalogue of available schemas.
Controller: SettingController@getColorConfig
Route source: fluent-community/app/Http/Routes/api.php:163
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response