Channel Software Methods
Channel software methods are available in the
channel.software
namespace. The following
methods can by used to query the packages that are available to a
session from a channel on ULN.
channel.software.getDetails
The getDetails
method returns the details of the given channel.
Input Parameters
Parameter | Description |
---|---|
sessionKey
|
The session key for the session. |
channelLabel
|
The channel label for the channel that you want to query. |
Return Parameters
Field | Description |
---|---|
channel_arch_name
|
The channel architecture name. |
channel_description
|
The channel description. |
channel_summary
|
The channel summary, usually the same as the channel name. |
metadata_urls
|
A dictionary or associative array of metadata locations and checksum information, including the URLs to download channel metadata.
|
Example Input Parameters
sessionKey: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
channelLabel: ol10_x86_64_baseos_latest
Example Output Parameters
{
"channel_description": "Base operating system packages released for Oracle Linux 10 (x86_64) including the latest errata packages",
"channel_summary": "Oracle Linux 10 BaseOS Latest (x86_64)",
"metadata_urls": {
"group": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/a02a929c88a276cf81b88ff672457550172a5a28-comps.xml",
"checksum": "a02a929c88a276cf81b88ff672457550172a5a28",
"file_name": "repodata/a02a929c88a276cf81b88ff672457550172a5a28-comps.xml",
"checksum_type": "sha1"
}
],
"filelists": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/3cbd811376b2e4aeb061786723ae7d8f3bd4de16-filelists.xml.gz",
"checksum": "3cbd811376b2e4aeb061786723ae7d8f3bd4de16",
"file_name": "repodata/3cbd811376b2e4aeb061786723ae7d8f3bd4de16-filelists.xml.gz",
"checksum_type": "sha1"
}
],
"updateinfo": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/b15bbd51b9077e12e798a906ef353900b8d6b018-updateinfo.xml.gz",
"checksum": "b15bbd51b9077e12e798a906ef353900b8d6b018",
"file_name": "repodata/b15bbd51b9077e12e798a906ef353900b8d6b018-updateinfo.xml.gz",
"checksum_type": "sha1"
}
],
"group_gz": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/13b7d0bf3fa83daa9133dcc9c1759c182a931678-comps.xml.gz",
"checksum": "13b7d0bf3fa83daa9133dcc9c1759c182a931678",
"file_name": "repodata/13b7d0bf3fa83daa9133dcc9c1759c182a931678-comps.xml.gz",
"checksum_type": "sha1"
}
],
"primary": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/5c6108529bf4d5c3bc916aa56d3ebb86a447f43b-primary.xml.gz",
"checksum": "5c6108529bf4d5c3bc916aa56d3ebb86a447f43b",
"file_name": "repodata/5c6108529bf4d5c3bc916aa56d3ebb86a447f43b-primary.xml.gz",
"checksum_type": "sha1"
}
],
"repomd": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/repomd.xml",
"file_name": "repodata/repomd.xml"
}
],
"other": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/45576c9eefa12f1fe1188044763be5a56f765699-other.xml.gz",
"checksum": "45576c9eefa12f1fe1188044763be5a56f765699",
"file_name": "repodata/45576c9eefa12f1fe1188044763be5a56f765699-other.xml.gz",
"checksum_type": "sha1"
}
],
"other_db": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/ff29e8fc2fb34c5ccf162b9799a518c00372794f-other.sqlite.bz2",
"checksum": "ff29e8fc2fb34c5ccf162b9799a518c00372794f",
"file_name": "repodata/ff29e8fc2fb34c5ccf162b9799a518c00372794f-other.sqlite.bz2",
"checksum_type": "sha1"
}
],
"primary_db": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/a17b11542d6b426a3a115bf3b144ef2394430a06-primary.sqlite.bz2",
"checksum": "a17b11542d6b426a3a115bf3b144ef2394430a06",
"file_name": "repodata/a17b11542d6b426a3a115bf3b144ef2394430a06-primary.sqlite.bz2",
"checksum_type": "sha1"
}
],
"filelists_db": [
{
"url": "https://linux-update.oracle.com/XMLRPC/GET-REQ/ol10_x86_64_baseos_latest/repodata/ac1c90f41e8e81e0348a4a83ab069bb19e59a79b-filelists.sqlite.bz2",
"checksum": "ac1c90f41e8e81e0348a4a83ab069bb19e59a79b",
"file_name": "repodata/ac1c90f41e8e81e0348a4a83ab069bb19e59a79b-filelists.sqlite.bz2",
"checksum_type": "sha1"
}
]
},
"channel_arch_name": "x86_64"
}
channel.software.listAllPackages
The listAllPackages
method returns a list of all packages that are
available from a channel, including packages that aren't the latest.
Input Parameters
Parameter | Description |
---|---|
sessionKey
|
The session key for the session. For example: JyUVNoT74BFaRJ6fRjDIQ5idPmCaj5UJLb76E2f45Gc |
channelLabel
|
The channel label for the channel that you want to query. |
Return Parameters
Field | Description |
---|---|
array
|
An array of all packages:
|
Example Input Parameters
sessionKey: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
channelLabel: ol10_x86_64_baseos_latest
Example Output Parameters
[
{
"package_arch_label": "x86_64",
"package_name": "ethtool",
"package_epoch": "2",
"package_version": "6.11",
"package_release": "5.el10_0",
"package_id": 33833622,
"package_last_modified": "2025-07-01 13:59:36"
},
{
"package_arch_label": "x86_64",
"package_name": "oraclelinux-release",
"package_epoch": "10",
"package_version": "10.0",
"package_release": "1.0.15.el10",
"package_id": 33833623,
"package_last_modified": "2025-06-27 22:22:26"
}
]
channel.software.listErrata
The listErrata
method returns a list of all errata that are associated with a channel.
Input Parameters
Parameter | Description |
---|---|
sessionKey
|
The session key for the session. |
channelLabel
|
The channel label for the channel that you want to query. |
Return Parameters
Field | Description |
---|---|
array
|
An array of all errata associated with the channel label:
|
Example Input Parameters
sessionKey: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
channelLabel: ol10_x86_64_baseos_latest
Example Output Parameters
[
{
"errata_update_date": "2025-07-22 00:00:00",
"errata_advisory_type": "Bug Fix Advisory",
"errata_synopsis": "sos bug fix and enhancement update",
"errata_advisory": "ELBA-2025-11538",
"errata_last_modified_date": "2025-07-22 00:00:00",
"errata_issue_date": "2025-07-22 00:00:00"
},
{
"errata_update_date": "2025-07-22 00:00:00",
"errata_advisory_type": "Security Advisory",
"errata_synopsis": "kernel security update",
"errata_advisory": "ELSA-2025-11428",
"errata_last_modified_date": "2025-07-22 00:00:00",
"errata_issue_date": "2025-07-22 00:00:00"
}
]
channel.software.listLatestPackages
The listLatestPackages
method returns a list of the latest packages that are available from a channel.
Input Parameters
Parameter | Description |
---|---|
sessionKey
|
The session key for the session. |
channelLabel
|
The channel label for the channel that you want to query. |
Return Parameters
Field | Description |
---|---|
array
|
An array of latest packages:
|
Example Input Parameters
sessionKey: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
channelLabel: ol10_x86_64_baseos_latest
Example Output Parameters
[
{
"package_arch_label": "x86_64",
"package_name": "libcomps",
"package_epoch": " ",
"package_version": "0.1.21",
"package_release": "3.el10",
"package_id": 33658475
},
{
"package_arch_label": "x86_64",
"package_name": "fuse-common",
"package_epoch": " ",
"package_version": "3.16.2",
"package_release": "5.el10",
"package_id": 33658505
}
]