Documentation
Lifecycle
Allows an add-on to register callbacks for plugin lifecycle events. Each property in this object is a url that can be absolute or relative to the add-on's baseUrl. When a lifecycle event is fired, it will POST to the appropriate url registered for the event.
Example
{
"installed": "/installed",
"uninstalled": "/uninstalled",
"enabled": "/enabled",
"disabled": "/disabled"
}
Properties
disabled
Type
stringuriDescription
Fires when an add on has been successfully disabled. This is an asynchronous notification event.
enabled
Type
stringuriDescription
Fires when an add on has been successfully enabled. This is an asynchronous notification event.
installed
Type
stringuriDescription
When a Connect add-on is installed, a synchronous request is fired to this URL to initiate the installation
handshake. In order to successfully complete installation, the add-on must respond with either a 200 OK or
204 No Content status.
uninstalled
Type
stringuriDescription
Fires when an add on has been successfully un-installed. This is an asynchronous notification event.