GET /katello/api/host_collections/:id
호스트 컬렉션 표시

Params

Param name Description
id
required

호스트 컬렉션 ID

Validations:

  • number.


GET /katello/api/host_collections
호스트 컬렉션 목록 나열

GET /katello/api/organizations/:organization_id/host_collections
조직의 호스트 컬렉션을 나열

GET /katello/api/activation_keys/:activation_key_id/host_collections
활성키에 있는 호스트 컬렉션을 나열

Params

Param name Description
search
optional

검색 문자열

Validations:

  • String

page
optional

1 부터 페이지 번호

Validations:

  • number.

per_page
optional

반환할 페이지 당 결과 수

Validations:

  • number.

order
optional

필드 및 순서 정렬. 예: 'name DESC'

Validations:

  • String

full_result
optional

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

Validations:

  • boolean

sort
optional

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

Validations:

  • Hash

sort[by]
optional

결과를 정렬할 필드

Validations:

  • String

sort[order]
optional

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

Validations:

  • String

organization_id
optional

조직 ID

Validations:

  • number.

name
optional

필터링할 호스트 컬렉션 이름

Validations:

  • String

activation_key_id
optional

활성키 ID

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

host_id
optional

Filter products by host id

Validations:

  • number.

available_for
optional

Interpret specified object to return only Host Collections that can be associated with specified object. The value 'host' is supported.

Validations:

  • String


POST /katello/api/host_collections
호스트 컬렉션 생성

POST /katello/api/organizations/:organization_id/host_collections
호스트 컬렉션 생성

Params

Param name Description
organization_id
required

조직 ID

Validations:

  • number.

name
required

호스트 컬렉션 이름

Validations:

  • String

description
optional

Validations:

  • String

host_ids
optional

List of host ids to replace the hosts in host collection

Validations:

  • Must be an array of any type

max_hosts
optional

Maximum number of hosts in the host collection

Validations:

  • Integer

unlimited_hosts
optional

Whether or not the host collection may have unlimited hosts

Validations:

  • boolean


PUT /katello/api/host_collections/:id
호스트 컬렉션 업데이트

Params

Param name Description
id
required

호스트 컬렉션 ID

Validations:

  • number.

name
optional

호스트 컬렉션 이름

Validations:

  • String

description
optional

Validations:

  • String

host_ids
optional

List of host ids to replace the hosts in host collection

Validations:

  • Must be an array of any type

max_hosts
optional

Maximum number of hosts in the host collection

Validations:

  • Integer

unlimited_hosts
optional

Whether or not the host collection may have unlimited hosts

Validations:

  • boolean


PUT /katello/api/host_collections/:id/add_hosts
Add host to the host collection

Params

Param name Description
id
required

호스트 컬렉션 ID

Validations:

  • number.

host_ids
optional

Array of host ids

Validations:

  • Must be an array of any type


PUT /katello/api/host_collections/:id/remove_hosts
Remove hosts from the host collection

Params

Param name Description
id
required

호스트 컬렉션 ID

Validations:

  • number.

host_ids
optional

Array of host ids

Validations:

  • Must be an array of any type


DELETE /katello/api/host_collections/:id
호스트 컬렉션 삭제

Params

Param name Description
id
required

호스트 컬렉션 ID

Validations:

  • number.


POST /katello/api/host_collections/:id/copy
호스트 컬렉션 사본 작성

Params

Param name Description
id
required

호스트 컬렉션 ID

Validations:

  • number.

name
required

새 호스트 컬렉션 이름

Validations:

  • String