Red Hat Training

A Red Hat training course is available for Red Hat Satellite

25.3. Method: getPackage

Description

Retrieve the package file associated with a package.

Important

Some larger package files result in an exception when attempting to download over XML-RPC. For larger package file, use the getPackageUrl method.
Parameters

The following parameters are available for this method:

  • string sessionKey
  • int package_id
Returns

The following return values are available for this method:

  • binary object - package file