Extension Resource¶
Provides information on installed extensions.
Details¶
Name | extension |
URI | /api/extensions/{extension_name}/ |
HTTP Methods | |
Parent Resource | Extension List Resource |
Child Resources | None |
Anonymous Access | Yes |
Fields¶
authorString | The author of the extension. |
author_urlString | The author’s website. |
can_disableBoolean | Whether or not the extension can be disabled. |
can_enableBoolean | Whether or not the extension can be enabled. |
class_nameString | The class name for the extension. |
enabledBoolean | Whether or not the extension is enabled. |
installedBoolean | Whether or not the extension is installed. |
load_errorString | If the extension could not be loaded, this will contain any errors captured while trying to load. |
loadableBoolean | Whether or not the extension is currently loadable. An extension may be installed but missing or may be broken due to a bug. |
nameString | The name of the extension. |
summaryString | A summary of the extension’s functionality. |
versionString | The installed version of the extension. |
Links¶
Name | Method | Resource |
---|---|---|
self | GET | Extension Resource |
update | PUT | Extension Resource |
HTTP GET¶
Handles HTTP GETs to individual object resources.
By default, this will check for access permissions and query for the object. It will then return a serialized form of the object.
This may need to be overridden if needing more complex logic.
Errors¶
100 - Does Not ExistHTTP 404 - Not Found | Object does not exist |
101 - Permission DeniedHTTP 403 - Forbidden | You don’t have permission for this |
103 - Not Logged InHTTP 401 - Unauthorized | You are not logged in |
HTTP PUT¶
Updates the state of the extension.
If enabled
is true, then the extension will be enabled, if it is
not already. If false, it will be disabled.
Request Parameters¶
enabledBoolean | Required Whether or not to make the extension active. |
Errors¶
100 - Does Not ExistHTTP 404 - Not Found | Object does not exist |
101 - Permission DeniedHTTP 403 - Forbidden | You don’t have permission for this |
103 - Not Logged InHTTP 401 - Unauthorized | You are not logged in |
105 - Invalid Form DataHTTP 400 - Bad Request | One or more fields had errors |
107 - Enable Extension FailedHTTP 500 - Internal Server Error | There was a problem enabling the extension |
108 - Disable Extension FailedHTTP 500 - Internal Server Error | There was a problem disabling the extension |