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