/api/addon
Usage
This function checks to see if a particular addon is installed and/or enabled
Details
Detail | Value |
---|---|
Group | Server |
From Server Version | 0.9.0 |
Permission | Public |
Methods | GET or POST |
Parameters
Parameter | Notes | Meaning |
---|---|---|
code | String | The short-code (folder name) of the addon |
Return Value
The returns either INVALID, INACTIVE or ENABLED, depending on if an addon with the folder name given in the code parameter exists and is enabled for the given site.
A value of INVALID indicates a bad query or invalid addon code.