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: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
pid: 33658475
Example Output Parameters
{
"package_last_modified_date": "2025-01-26 17:00:08",
"package_arch_label": "x86_64",
"package_cookie": " ",
"package_name": "libcomps",
"package_summary": " ",
"package_epoch": " ",
"package_checksums": [
{
"sha256": "d62a4818769711fb742b4309b581de8f1572c601c338a7bc3a4802393e11e89b"
}
],
"package_payload_size": 211496,
"package_version": "0.1.21",
"package_license": "GPL-2.0-or-later",
"package_vendor": " ",
"package_release": "3.el10",
"package_size": 210223,
"package_sha256": "d62a4818769711fb742b4309b581de8f1572c601c338a7bc3a4802393e11e89b",
"package_id": 33658475,
"providing_channels": [
"ol10_x86_64_baseos_latest"
],
"package_build_host": "build-ol10-x86_64.oracle.com",
"package_description": " ",
"package_build_date": "2025-01-26 17:00:08",
"download_urls": [
"https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/libcomps-0.1.21-3.el10.x86_64.rpm"
],
"package_file": "libcomps-0.1.21-3.el10.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: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
pid: 33658475
Example Output Parameters
[
{
"errata_update_date": "2025-06-09 00:00:00",
"errata_advisory_type": "Bug Fix Advisory",
"errata_synopsis": "libcomps bug fix and enhancement update",
"errata_advisory": "ELBA-2025-6382",
"errata_last_modified_date": "2025-06-09 00:00:00",
"errata_issue_date": "2025-06-09 00:00:00"
}
]