GET /katello/api/content_view_versions
Répertorier les versions d'affichage de contenu

GET /katello/api/content_views/:content_view_id/content_view_versions
Répertorier les versions d'affichage de contenu

Paramètres

Nom du paramètre Description
content_view_id
optionel

Identifiant d'affichage du contenu

Validations:

  • Must be a number.

environment_id
optionel

Filtrer les versions par environnement

Validations:

  • Must be a number.

puppet_module_id
optionel

Filter versions by puppet module

Validations:

  • Must be a number.

version
optionel

Filtrer les versions par numéro de version

Validations:

  • String

composite_version_id
optionel

Filtrer les versions composantes dans la version composite spécifiée.

Validations:

  • Must be a number.

organization_id
optionel

identifiant de l'organisation

Validations:

  • Must be a number.

triggered_by_id
optionel

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

Validations:

  • Must be a number.

search
optionel

Rechercher une chaîne

Validations:

  • String

page
optionel

Numéro de la page, commençant par 1

Validations:

  • Must be a number.

per_page
optionel

Nombre de résultats par page à renvoyer

Validations:

  • Must be a number.

order
optionel

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
optionel

Afficher tous les résultats ou pas

Validations:

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

sort
optionel

Version Hash des paramètres d'« ordre »

Validations:

  • Hash

sort[by]
optionel

Champs dans lequel trier les résultats

Validations:

  • String

sort[order]
optionel

Comment classer les résultats triés (ex : ASC for ascending ou CRO pour croissant)

Validations:

  • String


GET /katello/api/content_view_versions/:id
Afficher la version de l'affichage de contenu

Paramètres

Nom du paramètre Description
id
requis

Identifiant de la version de l'affichage du contenu

Validations:

  • Must be a number.


POST /katello/api/content_view_versions/:id/promote
Promouvoir une version de vue de contenu

Paramètres

Nom du paramètre Description
id
requis

Identifiant de la version de l'affichage du contenu

Validations:

  • Must be a number.

force
optionel

forcez la promotion d'affichage de contenu et contournez la restriction de l'environnement de cycle de vie.

Validations:

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

environment_id
optionel

LifeCycle Environment identifier

Validations:

  • Must be a number.

environment_ids
optionel

Identifiers for Lifecycle Environment

Validations:

  • Must be an array of any type

description
optionel

The description for the content view version promotion

Validations:

  • String

force_yum_metadata_regeneration
optionel

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.

Paramètres

Nom du paramètre Description
id
requis

Identifiant de la version de l'affichage du contenu

Validations:

  • Must be a number.

description
requis

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.

Paramètres

Nom du paramètre Description
id
requis

Identifiant de la version de l'affichage du contenu

Validations:

  • Must be a number.


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

Paramètres

Nom du paramètre Description
id
requis

Identifiant de la version de l'affichage du contenu

Validations:

  • Must be a number.

export_to_iso
optionel

Export to ISO format

Validations:

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

iso_mb_size
optionel

maximum size of each ISO in MB

Validations:

  • Must be a number.

since
optionel

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

Validations:

  • Date


DELETE /katello/api/content_view_versions/:id
Supprimer la version de l'affichage du contenu

Paramètres

Nom du paramètre Description
id
requis

Identifiant de la version de l'affichage du contenu

Validations:

  • Must be a number.


POST /katello/api/content_view_versions/incremental_update
Effectuer une mise à jour croissante sur une ou plusieurs versions d'affichage de contenu.

Paramètres

Nom du paramètre Description
content_view_version_environments
optionel

Validations:

  • Must be an Array of nested elements

content_view_version_environments[content_view_version_id]
optionel

Les ID de version d'affichage de contenu sur lesquels effectuer une mise à jour croissante. Peut contenir des éléments composites ainsi qu'un ou plusieurs composants à mettre à jour.

Validations:

  • Must be a number.

content_view_version_environments[environment_ids]
optionel

La liste des environnements vers lesquels promouvoir la version d'affichage de contenu spécifiée (en remplacement de l'ancienne version).

Validations:

  • Must be an array of any type

description
optionel

Description pour les nouvelles Versions d'affichage de contenu générées

Validations:

  • String

resolve_dependencies
optionel

Si défini comme « true », toute dépendance nécessaire sera copiée lors de l'ajout des errata ou package spécifiés.

Validations:

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

propagate_all_composites
optionel

Si défini comme « true », une nouvelle version composite sera publiée à l'aide d'un content_view_version_id spécifié ayant été promu à un environnement de cycle de vie.

Validations:

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

add_content
optionel

Validations:

  • Hash

add_content[errata_ids]
optionel

Errata ids or uuids to copy into the new versions.

Validations:

  • Must be an array of any type

add_content[package_ids]
optionel

Package ids or uuids to copy into the new versions.

Validations:

  • Must be an array of any type

add_content[puppet_module_ids]
optionel

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

Validations:

  • Must be an array of any type

update_hosts
optionel

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

Validations:

  • Hash

update_hosts[included]
requis

Validations:

  • Hash

update_hosts[included][search]
optionel , nil autorisé

Search string for host to perform an action on

Validations:

  • String

update_hosts[included][ids]
optionel , nil autorisé

List of host ids to perform an action on

Validations:

  • Must be an array of any type

update_hosts[excluded]
optionel , nil autorisé

Validations:

  • Hash

update_hosts[excluded][ids]
optionel , nil autorisé

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

Validations:

  • Must be an array of any type