GET /katello/api/content_view_versions
컨텐츠 뷰 버전 목록 나열

GET /katello/api/content_views/:content_view_id/content_view_versions
컨텐츠 뷰 버전 목록 나열

Params

Param name Description
content_view_id
optional

컨텐츠 뷰 ID

Validations:

  • Must be a number.

environment_id
optional

환경에 따라 버전을 필터링

Validations:

  • Must be a number.

puppet_module_id
optional

Filter versions by puppet module

Validations:

  • Must be a number.

version
optional

버전 번호에 따라 버전을 필터링

Validations:

  • String

composite_version_id
optional

지정된 복합 버전에 있는 구성 요소인 버전을 필터링

Validations:

  • Must be a number.

organization_id
optional

조직 ID

Validations:

  • Must be a number.

triggered_by_id
optional

Filter composite versions whose publish was triggered by the specified component version

Validations:

  • Must be a number.

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/content_view_versions/:id
컨텐츠 뷰 버전 표시

Params

Param name Description
id
required

컨텐츠 뷰 버전 ID

Validations:

  • Must be a number.


POST /katello/api/content_view_versions/:id/promote
컨텐츠 뷰 버전 승격

Params

Param name Description
id
required

컨텐츠 뷰 버전 ID

Validations:

  • Must be a number.

force
optional

컨텐츠 뷰 승격 강제 및 라이프 사이클 환경 제한을 무시

Validations:

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

environment_id
optional

LifeCycle Environment identifier

Validations:

  • Must be a number.

environment_ids
optional

Identifiers for Lifecycle Environment

Validations:

  • Must be an array of any type

description
optional

The description for the content view version promotion

Validations:

  • String

force_yum_metadata_regeneration
optional

Force metadata regeneration on the repositories in the content view version

Validations:

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


PUT /katello/api/content_view_versions/:id
Update a content view version.

Params

Param name Description
id
required

컨텐츠 뷰 버전 ID

Validations:

  • Must be a number.

description
required

The description for the content view version

Validations:

  • String


PUT /katello/api/content_view_versions/:id/republish_repositories
Forces a republish of the version's repositories' metadata.

Params

Param name Description
id
required

컨텐츠 뷰 버전 ID

Validations:

  • Must be a number.


POST /katello/api/content_view_versions/:id/export
Export a content view version

Params

Param name Description
id
required

컨텐츠 뷰 버전 ID

Validations:

  • Must be a number.

export_to_iso
optional

Export to ISO format

Validations:

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

iso_mb_size
optional

maximum size of each ISO in MB

Validations:

  • Must be a number.

since
optional

Optional date of last export (ex: 2010-01-01T12:00:00Z)

Validations:

  • Date


DELETE /katello/api/content_view_versions/:id
컨텐츠 뷰 버전 삭제

Params

Param name Description
id
required

컨텐츠 뷰 버전 ID

Validations:

  • Must be a number.


POST /katello/api/content_view_versions/incremental_update
하나 이상의 컨텐츠 뷰 버전에서 증분 업데이트를 수행

Params

Param name Description
content_view_version_environments
optional

Validations:

  • Must be an Array of nested elements

content_view_version_environments[content_view_version_id]
optional

증분 업데이트를 수행하기 위한 컨텐츠 뷰 버전 ID입니다. 복합 및 업데이트할 하나 이상의 구성 요소가 포함될 수 있습니다.

Validations:

  • Must be a number.

content_view_version_environments[environment_ids]
optional

지정된 컨텐츠 뷰 버전을 승격하기 위한 (이전 버전으로 대체) 환경 목록입니다.

Validations:

  • Must be an array of any type

description
optional

새로 생성된 컨텐츠 뷰 버전 설명

Validations:

  • String

resolve_dependencies
optional

True일 경우 지정된 에라타 또는 패키지를 추가하면 필요한 종속 패키지도 복사됩니다.

Validations:

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

propagate_all_composites
optional

True일 경우 라이프 사이클 환경으로 승격된 지정된 content_view_version_id를 사용하여 새 복합 버전이 공개됩니다.

Validations:

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

add_content
optional

Validations:

  • Hash

add_content[errata_ids]
optional

Errata ids or uuids to copy into the new versions.

Validations:

  • Must be an array of any type

add_content[package_ids]
optional

Package ids or uuids to copy into the new versions.

Validations:

  • Must be an array of any type

add_content[puppet_module_ids]
optional

Puppet Module ids or uuids to copy into the new versions.

Validations:

  • Must be an array of any type

update_hosts
optional

After generating the incremental update, apply the changes to the specified hosts. Only Errata are supported currently.

Validations:

  • Hash

update_hosts[included]
required

Validations:

  • Hash

update_hosts[included][search]
optional , nil allowed

Search string for host to perform an action on

Validations:

  • String

update_hosts[included][ids]
optional , nil allowed

List of host ids to perform an action on

Validations:

  • Must be an array of any type

update_hosts[excluded]
optional , nil allowed

Validations:

  • Hash

update_hosts[excluded][ids]
optional , nil allowed

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type