GET /katello/api/packages
List packages

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

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

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

Parámetros

Nombre del parámetro Descripción
organization_id
opcional

Identificador de la organización

Validations:

  • Must be a number.

content_view_version_id
opcional

Content View Version identifier

Validations:

  • Must be a number.

content_view_filter_id
opcional

Content View Filter identifier

Validations:

  • Must be a number.

repository_id
opcional

Repository identifier

Validations:

  • Must be a number.

environment_id
opcional

Environment identifier

Validations:

  • Must be a number.

ids
opcional

Package identifiers to filter content by

Validations:

  • Must be an array of any type

host_id
opcional

Host id to list applicable packages for

Validations:

  • Must be a number.

packages_restrict_applicable
opcional

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
opcional

Return packages that are upgradable on one or more hosts

Validations:

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

packages_restrict_latest
opcional

Return only the latest version of each package

Validations:

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

available_for
opcional

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

Validations:

  • String

search
opcional

Buscar cadena

Validations:

  • String

page
opcional

Número de página, comenzando por 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para devolver

Validations:

  • Must be a number.

order
opcional

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
opcional

Si se muestran o no todos los resultados

Validations:

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

sort
opcional

Versión de hash del parámetro 'orden'

Validations:

  • Hash

sort[by]
opcional

Campo en el que ordenar los resultados

Validations:

  • String

sort[order]
opcional

Cómo ordenar los resultados clasificados (p. ej., ASC para orden ascendente)

Validations:

  • String


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

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

Parámetros

Nombre del parámetro Descripción
repository_id
opcional

identificador de repositorio

Validations:

  • Must be a number.

id
requerido

Identificador: a_resource

Validations:

  • String


GET /katello/api/packages/compare
List packages

Parámetros

Nombre del parámetro Descripción
content_view_version_ids
opcional

Versiones de vista de contenido a comparar

Validations:

  • Must be an array of any type

repository_id
opcional

ID de biblioteca de repositorios para restringir comparaciones

Validations:

  • Must be a number.