Packages Methods
Packages methods are available in the packages
namespace. These methods are used for extracting information about
the packages that are available to a session on the ULN. The
following methods are provided for interacting with packages that
are available on ULN:
packages.getDetails
The getDetails
method returns detailed information about the specified package.
Input Parameters
Parameter | Description |
---|---|
sessionKey
|
The session key for the session. |
pid
|
The package identifier that should be queried, specified as an integer. |
Return Parameters
Field | Description |
---|---|
array
|
An array of channels with:
|
Example Input Parameters
sessionKey: ebQ3nS8QOmXoDIsXbrZTcD4xDMzsmJUo7yhoSi6VwPT
pid: 31941131
Example Output Parameters
{
"package_last_modified_date": "2025-03-18 10:33:39",
"package_arch_label": "x86_64",
"package_cookie": " ",
"package_name": "NetworkManager-adsl",
"package_summary": "ADSL device plugin for NetworkManager",
"package_epoch": "1",
"package_checksums": [
{
"sha256": "0d5be4637e423a06c3b09a4d2ae145b82077f0028bfc98097489c35f077b8237"
}
],
"package_payload_size": 41460,
"package_version": "1.48.10",
"package_license": "GPL-2.0-or-later AND LGPL-2.1-or-later",
"package_vendor": "Oracle America",
"package_release": "8.0.1.el9_5",
"package_size": 40708,
"package_sha256": "0d5be4637e423a06c3b09a4d2ae145b82077f0028bfc98097489c35f077b8237",
"package_id": 31941131,
"providing_channels": [
"ol9_x86_64_baseos_latest"
],
"package_build_host": "build-ol9-x86_64.oracle.com",
"package_description": "This package contains NetworkManager support for ADSL devices.",
"package_build_date": "2025-03-18 10:33:39",
"download_urls": [
"https://linux-update.oracle.com/XMLRPC/GET-REQ/ol9_x86_64_baseos_latest/NetworkManager-adsl-1.48.10-8.0.1.el9_5.x86_64.rpm"
],
"package_file": "NetworkManager-adsl-1.48.10-8.0.1.el9_5.x86_64.rpm"
}
packages.listProvidingErrata
The listProvidingErrata
method returns a list of the errata that are associated with a package.
Input Parameters
Parameter | Description |
---|---|
sessionKey
|
The session key for the session. For example: JyUVNoT74BFaRJ6fRjDIQ5idPmCaj5UJLb76E2f45Gc |
pid
|
The package identifier that should be queried, specified as an integer. For example: 11807834 |
Return Parameters
Field | Description |
---|---|
array
|
An array of all errata associated with the package:
|
Example Input Parameters
sessionKey: ebQ3nS8QOmXoDIsXbrZTcD4xDMzsmJUo7yhoSi6VwPT
pid: 31941131
Example Output Parameters
[
{
"errata_update_date": "2025-03-18 00:00:00",
"errata_advisory_type": "Bug Fix Advisory",
"errata_synopsis": "NetworkManager bug fix and enhancement update",
"errata_advisory": "ELBA-2025-2989",
"errata_last_modified_date": "2025-03-18 00:00:00",
"errata_issue_date": "2025-03-18 00:00:00"
}
]