Create a new Plugin

Create a new Plugin

Will create a service user in the UMS, upload the code file if sent, publish the plugin,
create an accessible endpoint for it and subscribe all requested notifications and interceptions to that endpoint.
For ZIP deployment package type, if code is not sent it will use a seed code instead.
The imageTag field is relevant only for deploymentPackageType = IMAGE. Specify the tag you used when you uploaded the image using the docker push command. After being attach to the plugin, the image will be managed by the server.
The imageTag has no meanings after a successful call and will not be returned as part of the response, the imageTag is only a way to provide the plugin code when the deploymentPackageType is IMAGE (instead of using the code parameter).
If the imageTag field is not sent it will use a seed code instead, based on the runtime parameter.
If this API fails, it will roll back the changes it made.
This is a "multipart/form-data" request that includes both the binary zip file and configuration
information.
The form should include 2 parameters:

  1. "code": Non-mandatory binary zip file.
  2. "config": Mandatory JSON configuration of the plugin.

For more detailed information regarding the plugins, please visit the following page: https://docs.biot-med.com/docs/biot-plugins

This API requires SETTINGS_PLUGIN_CREATE permission(s).

Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!