Plugin Add
Add a plugin to the instance. This will not install or activate the plugin immediately. It will validate and prepare the plugin for install. Plugins can be uploaded directly as files or via a URL to a repository.
Add a plugin to the instance. This will not install or activate the plugin immediately. It will validate and prepare the plugin for install.
Plugins can be uploaded directly as files or via a URL to a repository.
/pluginsAuthorization
browser In: cookie
binaryResponse Body
application/json
application/json
curl -X POST "https://loading/api/plugins" \ -H "Content-Type: application/json" \ -d '{ "mode": "supervised", "url": "http://example.com" }'{
"id": "cc5lnd2s1s4652adtu50",
"added_at": "2019-08-24T14:15:22Z",
"name": "string",
"description": "string",
"version": "string",
"status": {
"active_state": "inactive",
"deactivated_at": "2019-08-24T14:15:22Z"
},
"manifest": {},
"connection": {
"mode": "supervised"
}
}{
"error": "string",
"message": "string",
"suggested": "string",
"metadata": {}
}Moderation Action Create POST
Create a new moderation action such as a ban or content purge.
Plugin Cycle Token POST
Cycles the static bearer token for an external plugin and returns the newly generated token. This operation is only valid for external plugins. Supervised plugins cycle their connection token automatically.