latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

RPM
List Package Information

Return possible RPM package changes

This function determines the actions that would result from the provisioning of a specified RPM package or packages.

get/package_manager_resolve_actions

Query parameters

packagestring required

The name of an RPM package.

Note:

  • To submit more than one package, pass the parameter multiple times. For example, package=ea-php55 and package=ea-apr-util.
ns'ea'

The RPM namespace that represents a set of packages. Note:

  • ea and any from ea4_get_additional_pkg_prefixes API call are the only possible values. * When more than one namespace is involved, pass the parameter multiple times. For example, ns=ea and ns=altea.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "install": [
      "ea-apache24-mod_mpm_event",
      "ea-apache24-mod_cgid"
    ],
    "unaffected": [
      "ea-php70-php-devel",
      "ea-php56-runtime",
      "ea-php55-php-common",
      "ea-apache24-mod_headers",
      "ea-php56-php-bcmath",
      "ea-php70-php-curl",
      "ea-php70-php-xml"
    ],
    "uninstall": [
      "ea-apache24-mod_cgi",
      "ea-apache24-mod_mpm_prefork"
    ],
    "upgrade": [
      "ea-php56"
    ]
  },
  "metadata": {
    "command": "package_manager_resolve_actions",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}