チャネル・ソフトウェア・メソッド
チャネル・ソフトウェア・メソッドは、channel.softwareネームスペースにあります。 次の方法を使用すると、ULN上のチャネルからセッションで使用可能なパッケージを問い合せることができます。
channel.software.getDetails
getDetailsメソッドは、指定されたチャネルの詳細を返します。
入力パラメータ
| パラメータ | 説明 |
|---|---|
sessionKey
|
セッションのセッション・キー。 |
channelLabel
|
問い合せるチャネルのチャネル・ラベル。 |
戻り値のパラメータ
| フィールド | 説明 |
|---|---|
channel_arch_name
|
チャネル・アーキテクチャ名。 |
channel_description
|
チャネルの説明。 |
channel_summary
|
チャネル・サマリー。通常、チャネル名と同じです。 |
metadata_urls
|
メタデータの場所と、チャネル・メタデータをダウンロードするためのURLsなどのチェックサム情報のディクショナリまたは連想配列。
|
入力パラメータの例
sessionKey: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
channelLabel: ol10_x86_64_baseos_latest
出力パラメータの例
{
"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
listAllPackagesメソッドは、チャネルから使用可能なすべてのパッケージのリストを返します。リストには最新でないパッケージも含まれます。
入力パラメータ
| パラメータ | 説明 |
|---|---|
sessionKey
|
セッションのセッション・キー。 例: JyUVNoT74BFaRJ6fRjDIQ5idPmCaj5UJLb76E2f45Gc |
channelLabel
|
問い合せるチャネルのチャネル・ラベル。 |
戻り値のパラメータ
| フィールド | 説明 |
|---|---|
array
|
すべてのパッケージの配列:
|
入力パラメータの例
sessionKey: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
channelLabel: ol10_x86_64_baseos_latest
出力パラメータの例
[
{
"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
listErrataメソッドは、チャネルに関連付けられているすべてのエラータのリストを返します。
入力パラメータ
| パラメータ | 説明 |
|---|---|
sessionKey
|
セッションのセッション・キー。 |
channelLabel
|
問い合せるチャネルのチャネル・ラベル。 |
戻り値のパラメータ
| フィールド | 説明 |
|---|---|
array
|
チャネル・ラベルに関連付けられているすべてのエラータの配列:
|
入力パラメータの例
sessionKey: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
channelLabel: ol10_x86_64_baseos_latest
出力パラメータの例
[
{
"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
listLatestPackagesメソッドは、チャネルから使用可能な最新のパッケージのリストを返します。
入力パラメータ
| パラメータ | 説明 |
|---|---|
sessionKey
|
セッションのセッション・キー。 |
channelLabel
|
問い合せるチャネルのチャネル・ラベル。 |
戻り値のパラメータ
| フィールド | 説明 |
|---|---|
array
|
最新パッケージの配列は次のとおりです:
|
入力パラメータの例
sessionKey: uyjAN3cB7ySsAUra27CKj3qx9fuGyio5uQ6w4q4ALNX
channelLabel: ol10_x86_64_baseos_latest
出力パラメータの例
[
{
"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
}
]