Capabilities

Instructions about setup of capabilities for use in add-on development

A capability is a specific piece of eLab backend logic that can only be used when access is installing an add-on that provides this capability.
To retrieve a list of capabilities available in eLab, you can request the following API endpoint:

When you develop an add-on and need to provide access to a capability, you can add this in the meta information of your add-on like so:

/*
@rootVar: MY_ADDON 
@name: My addon with capability
@author: eLabNext
@version: 0.8.3
@capabilities: myCapability
*/
var MY_ADDON = {}; 

(function (context) {
  ... //your code here
})(MY_ADDON);