GET /katello/api/package_groups
List package_groups

GET /katello/api/content_views/:content_view_id/filters/:filter_id/package_groups
List package_groups

GET /katello/api/content_view_filters/:content_view_filter_id/package_groups
List package_groups

GET /katello/api/repositories/:repository_id/package_groups
List package_groups

Paramètres

Nom du paramètre Description
organization_id
optionel

identifiant de l'organisation

Validations:

  • Must be a number.

content_view_version_id
optionel

identifiant de version d'affichage de contenu

Validations:

  • Must be a number.

content_view_filter_id
optionel

Identifiant du filtre de l'affichage de contenu

Validations:

  • Must be a number.

repository_id
optionel

identifiant de référentiel

Validations:

  • Must be a number.

environment_id
optionel

identifiant d'environnement

Validations:

  • Must be a number.

ids
optionel

ID par lesquels filtrer le contenu

Validations:

  • Must be an array of any type

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/package_groups/:id
Show a package group

GET /katello/api/repositories/:repository_id/package_groups/:id
Show a package group

Paramètres

Nom du paramètre Description
repository_id
optionel

identifiant de référentiel

Validations:

  • Must be a number.

id
requis

a package group identifier

Validations:

  • String


GET /katello/api/package_groups/compare
List package_groups

Paramètres

Nom du paramètre Description
content_view_version_ids
optionel

versions d'affichage de contenu à comparer

Validations:

  • Must be an array of any type

repository_id
optionel

ID de référentiel de bibliothèque pour restreindre les comparaisons à

Validations:

  • Must be a number.


POST /katello/api/package_group
Create a package group

Paramètres

Nom du paramètre Description
repository_id
requis

repository_id

Validations:

  • String

name
requis

package group name.

Validations:

  • String

description
optionel

package group description. Defaults to params

Validations:

  • String

user_visible
optionel

set “user_visible” flag on package group. Defaults to true

Validations:

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

mandatory_package_names
optionel

mandatory package names to include in the package group

Validations:

  • Must be an array of any type

optional_package_names
optionel

optional package names to include in the package group

Validations:

  • Must be an array of any type

conditional_package_names
optionel

conditional package names to include in the package group

Validations:

  • Must be an array of any type

default_package_names
optionel

default package names to include in the package group

Validations:

  • Must be an array of any type


DELETE /katello/api/package_group
Delete a package group

Paramètres

Nom du paramètre Description
name
requis

package group name

Validations:

  • String

repository_id
requis

repository_id

Validations:

  • String