plone.api.addon
#
API to handle add-on management.
- plone.api.addon.get(addon: str) AddonInformation [source]#
Information about an Add-on.
- Parameters:
addon -- ID of the add-on to be retrieved.
- Returns:
Add-on information.
- Return type:
string
- plone.api.addon.get_addon_ids(limit: str = '') List[str] [source]#
List add-ons ids in this Plone site.
- Parameters:
limit (string) -- Limit list of add-ons. 'installed': only products that are installed and not hidden 'upgradable': only products with upgrades 'available': products that are not installed but could be 'non_installable': Non installable products 'broken': uninstallable products with broken dependencies
- Returns:
List of add-on ids.
- plone.api.addon.get_addons(limit: str = '') List[AddonInformation] [source]#
List add-ons in this Plone site.
- Parameters:
limit (string) -- Limit list of add-ons. 'installed': only products that are installed and not hidden 'upgradable': only products with upgrades 'available': products that are not installed but could be 'non_installable': Non installable products 'broken': uninstallable products with broken dependencies
- Returns:
List of AddonInformation.
- Raises:
InvalidParameterError
- Example: