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 나열

Params

Param name Description
organization_id
optional

조직 ID

Validations:

  • Must be a number.

content_view_version_id
optional

Content View Version identifier

Validations:

  • Must be a number.

content_view_filter_id
optional

Content View Filter identifier

Validations:

  • Must be a number.

repository_id
optional

Repository identifier

Validations:

  • Must be a number.

environment_id
optional

Environment identifier

Validations:

  • Must be a number.

ids
optional

Package identifiers to filter content by

Validations:

  • Must be an array of any type

host_id
optional

Host id to list applicable packages for

Validations:

  • Must be a number.

packages_restrict_applicable
optional

Return packages that are applicable to one or more hosts (defaults to true if host_id is specified)

Validations:

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

packages_restrict_upgradable
optional

Return packages that are upgradable on one or more hosts

Validations:

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

packages_restrict_latest
optional

Return only the latest version of each package

Validations:

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

available_for
optional

Return packages that can be added to the specified object. Only the value 'content_view_version' is supported.

Validations:

  • String

search
optional

검색 문자열

Validations:

  • String

page
optional

1 부터 페이지 번호

Validations:

  • Must be a number.

per_page
optional

반환할 페이지 당 결과 수

Validations:

  • Must be a number.

order
optional

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
optional

모든 결과를 표시할 지에 대한 여부

Validations:

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

sort
optional

'order' 매개 변수의 해시 버전

Validations:

  • Hash

sort[by]
optional

결과를 정렬할 필드

Validations:

  • String

sort[order]
optional

정렬된 결고를 정렬하는 방법 (예: 오름차순의 ASC)

Validations:

  • String


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

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

Params

Param name Description
repository_id
optional

리포지터리 Id

Validations:

  • Must be a number.

id
required

a package 식별자

Validations:

  • String


GET /katello/api/packages/compare
List packages

Params

Param name Description
content_view_version_ids
optional

비교할 컨텐츠 뷰 버전

Validations:

  • Must be an array of any type

repository_id
optional

비교를 제한하기 위한 라이브러리 리포지터리 ID

Validations:

  • Must be a number.