GET /katello/api/host_collections/:id
Hostsammlung anzeigen

Parameter

Parametername Beschreibung
id
verpflichtend

ID der Hostsammlung

Validations:

  • Must be a number.


GET /katello/api/host_collections
Hostsammlungen auflisten

GET /katello/api/organizations/:organization_id/host_collections
Hostsammlungen in einer Organisation auflisten

GET /katello/api/activation_keys/:activation_key_id/host_collections
Hostsammlungen in einem Aktivierungsschlüssel auflisten

Parameter

Parametername Beschreibung
search
optional

Suchbegriff

Validations:

  • String

page
optional

Seitennummer, beginnend bei 1

Validations:

  • Must be a number.

per_page
optional

Anzahl der angezeigten Ergebnisse pro Seite

Validations:

  • Must be a number.

order
optional

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
optional

Ob alle Ergebnisse angezeigt werden sollen

Validations:

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

sort
optional

Hash-Version des “order”-Parameters

Validations:

  • Hash

sort[by]
optional

Ergebnisse nach diesem Feld sortieren

Validations:

  • String

sort[order]
optional

Reihenfolge der sortierten Ergebnisse (z. B. ASC für aufsteigend)

Validations:

  • String

organization_id
optional

Organisations-ID

Validations:

  • Must be a number.

name
optional

Name der Hostsammlung, nach der gefiltert werden soll

Validations:

  • String

activation_key_id
optional

Aktivierungsschlüssel-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:

  • Must be a 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
Hostsammlung erstellen

POST /katello/api/organizations/:organization_id/host_collections
Hostsammlung erstellen

Parameter

Parametername Beschreibung
organization_id
verpflichtend

Organisations-ID

Validations:

  • Must be a number.

name
verpflichtend

Name der Hostsammlung

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:

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


PUT /katello/api/host_collections/:id
Hostsammlung aktualisieren

Parameter

Parametername Beschreibung
id
verpflichtend

ID der Hostsammlung

Validations:

  • Must be a number.

name
optional

Name der Hostsammlung

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:

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


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

Parameter

Parametername Beschreibung
id
verpflichtend

ID der Hostsammlung

Validations:

  • Must be a 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

Parameter

Parametername Beschreibung
id
verpflichtend

ID der Hostsammlung

Validations:

  • Must be a number.

host_ids
optional

Array of host ids

Validations:

  • Must be an array of any type


DELETE /katello/api/host_collections/:id
Hostsammlung löschen

Parameter

Parametername Beschreibung
id
verpflichtend

ID der Hostsammlung

Validations:

  • Must be a number.


POST /katello/api/host_collections/:id/copy
Kopie einer Hostsammlung erstellen

Parameter

Parametername Beschreibung
id
verpflichtend

ID der Hostsammlung

Validations:

  • Must be a number.

name
verpflichtend

Neuer Name für die Hostsammlung

Validations:

  • String