GET /katello/api/packages
List packages

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

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

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

Paramètres

Nom du paramètre Description
organization_id
optionel

identifiant de l'organisation

Validations:

  • Must be a number.

content_view_version_id
optionel

Content View Version identifier

Validations:

  • Must be a number.

content_view_filter_id
optionel

Content View Filter identifier

Validations:

  • Must be a number.

repository_id
optionel

Repository identifier

Validations:

  • Must be a number.

environment_id
optionel

Environment identifier

Validations:

  • Must be a number.

ids
optionel

Package identifiers to filter content by

Validations:

  • Must be an array of any type

host_id
optionel

Host id to list applicable packages for

Validations:

  • Must be a number.

packages_restrict_applicable
optionel

Return packages that are applicable to one or more hosts (defaults to true if host_id is specified)

Validations:

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

packages_restrict_upgradable
optionel

Return packages that are upgradable on one or more hosts

Validations:

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

packages_restrict_latest
optionel

Return only the latest version of each package

Validations:

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

available_for
optionel

Return packages that can be added to the specified object. Only the value 'content_view_version' is supported.

Validations:

  • String

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

GET /katello/api/repositories/:repository_id/packages/:id
Show a package

Paramètres

Nom du paramètre Description
repository_id
optionel

identifiant de référentiel

Validations:

  • Must be a number.

id
requis

a package identifier

Validations:

  • String


GET /katello/api/packages/compare
List packages

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.