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.