GET /katello/api/packages
List packages

GET /katello/api/content_views/:content_view_id/filters/:filter_id/:resource_id
列出:resource_id

GET /katello/api/content_view_filters/:content_view_filter_id/:resource_id
列出:resource_id

GET /katello/api/repositories/:repository_id/:resource_id
列出:resource_id

參數

參數名字 描述
organization_id
選填

組織識別子

Validations:

  • number.

content_view_version_id
選填

內容視域版本識別子

Validations:

  • number.

content_view_filter_id
選填

內容視域篩選器的識別子

Validations:

  • number.

repository_id
選填

軟體庫識別子

Validations:

  • number.

environment_id
選填

環境識別子

Validations:

  • number.

ids
選填

用來篩選內容的 ID

Validations:

  • Must be an array of any type

host_id
選填

host id to list applicable packages for

Validations:

  • number.

packages_restrict_upgradable
選填

Only show packages that are upgradable in the host(s) Content View.

Validations:

  • Must be one of: true, false, 1, 0

packages_restrict_applicable
選填

Only show packages that are applicable to hosts (defaults to true if host_id is specified)

Validations:

  • Must be one of: true, false, 1, 0

search
選填

搜尋字串

Validations:

  • String

page
選填

頁數,從 1 開始

Validations:

  • number.

per_page
選填

每頁要傳回的結果數量

Validations:

  • number.

order
選填

排序欄位與次序,例如「name DESC」

Validations:

  • String

full_result
選填

是否顯示所有結果

Validations:

  • boolean

sort
選填

「order」參數的雜湊版本

Validations:

  • Hash

sort[by]
選填

用來排序結果的欄位

Validations:

  • String

sort[order]
選填

如何排序結果的順序(比方說 ASC 從下到上)

Validations:

  • String


GET /katello/api/packages/:id
Show a package

GET /katello/api/repositories/:repository_id/packages/:id
Show a package

參數

參數名字 描述
repository_id
選填

軟體庫識別子

Validations:

  • number.

id
必填

a package 識別子

Validations:

  • String


GET /katello/api/packages/compare
List packages

參數

參數名字 描述
content_view_version_ids
選填

欲進行比較的內容視域版本

Validations:

  • Must be an array of any type

repository_id
選填

欲限制比較的函式庫軟體庫 ID

Validations:

  • number.