Skip to content

feature

Check if a feature is installed.

read

The API takes a name field with the name of the feature to check.

Input

Input example:

{
  "name": "mailboxes"
}

Output

Fields:

  • installed: it's true if the feature is installed, false otherwise
  • packages: list of packages to install to enable the function

Output example:

{
  "packages": [
    "nethserver-mail-server"
  ],
  "installed": true
}

update

If not already installed, it installs all packages to enable the feature.

Input example:

{
  "name": "mailboxes"
}

The output is a success message or output from pkgaction command.