Return installed Easyapache 4 packages

This function returns a list of the currently-installed EasyApache 4 packages.

Important:

When you disable the Web Server role, the system disables this function.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/ea4_get_currently_installed_packages
Request samples
whmapi1 --output=jsonpretty \
  ea4_get_currently_installed_packages
Response samples
application/json
{
  • "data": {
    • "packages": [
      • "ea-apache24"
      ]
    },
  • "metadata": {
    • "command": "ea4_get_currently_installed_packages",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}