application program interface API Overview: packages
( Return to API Overview )

Available methods

Description

Methods to retrieve information about the Packages contained within the Red Hat Network.

Namespace: packages


Method: findByNvrea

Description:
Lookup the details for the package with the given name, version, release, architecture label, and (optionally) epoch.

Parameters:

Returns: struct (package)


Method: getDetails

Description:
Retrieve details for the package with the ID.

Parameters:

Returns: struct (package)


Method: listChangelog

Description:
List the change log for a package.

Parameters:

Returns: array


Method: listDependencies

Description:
List the dependencies for a package.

Parameters:

Returns: array


Method: listFiles

Description:
List the files associated with a package.

Parameters:

Returns: array


Method: listProvidingChannels

Description:
List the channels that provide the a package.

Parameters:

Returns: array


Method: listProvidingErrata

Description:
List the errata providing the a package.

Parameters:

Returns: array


Method: removePackage

Description:
Remove a package from the satellite.

Parameters:

Returns: int - 1 on success.