GET /katello/api/ostree_branches
List ostree_branches

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

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

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

参数

参数名字 描述
organization_id
选填

机构识别符

Validations:

  • Must be a number.

content_view_version_id
选填

内容视图版本标识符

Validations:

  • Must be a number.

content_view_filter_id
选填

内容视图过滤器标识符

Validations:

  • Must be a number.

repository_id
选填

库识别符

Validations:

  • Must be a number.

environment_id
选填

环境识别符

Validations:

  • Must be a number.

ids
选填

用来过滤内容的 id

Validations:

  • Must be an array of any type

search
选填

搜索字符串

Validations:

  • String

page
选填

页号,从 1 开始

Validations:

  • Must be a number.

per_page
选填

每页中显示的返回结果数

Validations:

  • Must be a number.

order
选填

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
选填

无论如何显示所有结果

Validations:

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

sort
选填

'order' 参数的哈希版本

Validations:

  • Hash

sort[by]
选填

结果排序字段

Validations:

  • String

sort[order]
选填

如何对分类结果进行排序(例如:ASC 代表升序)

Validations:

  • String


GET /katello/api/ostree_branches/:id
Show an ostree branch

GET /katello/api/repositories/:repository_id/ostree_branches/:id
Show an ostree branch

参数

参数名字 描述
repository_id
选填

库识别符

Validations:

  • Must be a number.

id
必填

an ostree branch 识别符

Validations:

  • String


GET /katello/api/ostree_branches/compare
List ostree_branches

参数

参数名字 描述
content_view_version_ids
选填

要比较的内容视图版本

Validations:

  • Must be an array of any type

repository_id
选填

用来对比的程序库库 id

Validations:

  • Must be a number.