Installs and activates one of the companion Fluent plugins from the add-on catalogue, in the background.
Only slugs present in the add-on catalogue are accepted. Repository plugins are fetched from WordPress.org; FluentCommunity Chat and FluentPlayer are installed through their own hooks and require the Pro plugin.
Endpoint
Method:
POSTPath:
/settings/install_pluginEdition: Core
Controller:
SettingController@installPluginRoute source:
fluent-community/app/Http/Routes/api.php:158Controller source:
fluent-community/app/Http/Controllers/SettingController.phpRequires the WordPress
install_pluginscapability in addition to the community-admin permission.Writes to the plugins directory and activates code on the site.
Reconstructed sample
This endpoint belongs to a module that is not active on the reference install (or needs a file upload), so the payload below was reconstructed by reading the controller rather than recorded. Field names and types follow the source; values are illustrative.
POST Install Plugin
Installs and activates one of the companion Fluent plugins from the add-on catalogue, in the background.
Controller: SettingController@installPlugin
Route source: fluent-community/app/Http/Routes/api.php:158
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Request Body
Responses
Successful response