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": "filter"
}

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-squidguard"
  ],
  "installed": true
}

update

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

Input example:

{
  "name": "filter"
}

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