Return ea4-metainfo.json file contents

This function returns the contents of the /etc/cpanel/ea4/ea4-metainfo.json file.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object

Contents of the /etc/cpanel/ea4/ea4-metainfo.json file.

object
get/ea4_metainfo
Request samples
whmapi1 --output=jsonpretty \
  ea4_metainfo
Response samples
application/json
{
  • "data": {
    • "additional_packages": [
      • "ea-nginx",
      • "ea-example"
      ],
    • "default_php_handler": "cgi",
    • "default_php_package": "ea-php72",
    • "type": "object"
    },
  • "metadata": {
    • "command": "ea4_metainfo",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}