Python
import requests url = "https://{FUSION HOST}/api/connectors/plugins" payload = "<string>" headers = {"Content-Type": "application/zip"} response = requests.put(url, json=payload, headers=headers) print(response.text)
{ "pluginId": "lucidworks.web-v2", "status": { "action": "INSTALL", "status": "SUCCESS", "message": "Plugin lucidworks.web-v2 was installed successfully." } }
Install a plugin from a local .zip file. You can download plugins as .zip files at https://doc.lucidworks.com/fusion-connectors/n0s114/v-2-connectors-downloads
.zip
The body is of type file.
file
OK
The ID of the connector plugin.
"lucidworks.web-v2"
The action taken and its final status.
Show child attributes
UNKNOWN
INSTALL
UPDATE
UNINSTALL
"INSTALL"
SUCCESS
FAIL
NOOP
"SUCCESS"
"Plugin lucidworks.web-v2 was installed successfully."
Was this page helpful?