Skip to content

Endpoint

  • Method: POST
  • Path: /settings/color-config
  • Edition: PRO
  • Controller: ProAdminController@saveColorConfig
  • Route source: fluent-community-pro/app/Http/Routes/api.php:27
  • Controller source: fluent-community-pro/app/Http/Controllers/ProAdminController.php

POST Save Color Config

POST
/settings/color-config

Save Color Config for the FluentCommunity Settings API.

Controller: ProAdminController@saveColorConfig
Route source: fluent-community-pro/app/Http/Routes/api.php:27

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Request Body

application/json
JSON
{
  
"dark_schema": "string",
  
"light_schema": "string",
  
"dark_config": [
  
  
"string"
  
],
  
"light_config": [
  
  
"string"
  
]
}

Responses

Successful response

application/json
JSON
{
  
"message": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation