Endpoint
- Method:
POST - Path:
/moderation/config - Edition: PRO
- Controller:
ModerationController@saveConfig - Route source:
fluent-community-pro/app/Http/Routes/api.php:95 - Controller source:
fluent-community-pro/app/Http/Controllers/ModerationController.php
POST Save Moderation Config
POST
/moderation/config
Save Moderation Config for the FluentCommunity Reports API.
Controller: ModerationController@saveConfig
Route source: fluent-community-pro/app/Http/Routes/api.php:95
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Request Body
application/json
JSON "config": { "is_enabled": "string", "profanity_filter": "string", "flag_after_threshold": 0 }
{
}
Responses
Successful response
application/json
JSON "config": [ { "additionalProperties": "string" } ], "message": "string"
{
}