GET /katello/api/package_groups
List package_groups

GET /katello/api/content_views/:content_view_id/filters/:filter_id/package_groups
List package_groups

GET /katello/api/content_view_filters/:content_view_filter_id/package_groups
List package_groups

GET /katello/api/repositories/:repository_id/package_groups
List package_groups

參數

參數名字 描述
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

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/package_groups/:id
Show a package group

GET /katello/api/repositories/:repository_id/package_groups/:id
Show a package group

參數

參數名字 描述
repository_id
選填

軟體庫識別子

Validations:

  • number.

id
必填

a package group 識別子

Validations:

  • String


GET /katello/api/package_groups/compare
List package_groups

參數

參數名字 描述
content_view_version_ids
選填

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

Validations:

  • Must be an array of any type

repository_id
選填

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

Validations:

  • number.


POST /katello/api/package_group
Create a package group

參數

參數名字 描述
repository_id
必填

repository_id

Validations:

  • String

name
必填

package group name.

Validations:

  • String

description
選填

package group description. Defaults to params

Validations:

  • String

user_visible
選填

set “user_visible” flag on package group. Defaults to true

Validations:

  • boolean

mandatory_package_names
選填

mandatory package names to include in the package group

Validations:

  • Must be an array of any type

optional_package_names
選填

optional package names to include in the package group

Validations:

  • Must be an array of any type

conditional_package_names
選填

conditional package names to include in the package group

Validations:

  • Must be an array of any type

default_package_names
選填

default package names to include in the package group

Validations:

  • Must be an array of any type


DELETE /katello/api/package_group
Delete a package group

參數

參數名字 描述
name
必填

package group name

Validations:

  • String

repository_id
必填

repository_id

Validations:

  • String