get /katello/api/content_views/:content_view_id/filters
list filters

get /katello/api/content_view_filters
list filters

Parámetros

Nombre del parámetro Descripción
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

content_view_id
requerido

identificador de vista de contenido

Validations:

  • Must be a number.

name
opcional

filter content view filters by name

Validations:

  • String

types
opcional

types of filters

Validations:

  • Must be an array of any type


post /katello/api/content_views/:content_view_id/filters
create a filter for a content view

post /katello/api/content_view_filters
create a filter for a content view

Parámetros

Nombre del parámetro Descripción
content_view_id
requerido

identificador de vista de contenido

Validations:

  • Must be a number.

name
requerido

nombre del filtro

Validations:

  • String

type
requerido

type of filter (e.g. rpm, package_group, erratum, docker)

Validations:

  • String

original_packages
opcional

add all packages without errata to the included/excluded list. (package filter only)

Validations:

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

inclusion
opcional

especifica si se debe incluir o excluir el contenido, predeterminado: inclusion=false

Validations:

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

repository_ids
opcional

lista de ID de repositorio

Validations:

  • Must be an array of any type

description
opcional

descripción del filtro

Validations:

  • String


get /katello/api/content_views/:content_view_id/filters/:id
show filter info

get /katello/api/content_view_filters/:id
show filter info

Parámetros

Nombre del parámetro Descripción
content_view_id
opcional

identificador de vista de contenido

Validations:

  • Must be a number.

id
requerido

identificador de filtro

Validations:

  • Must be a number.


put /katello/api/content_views/:content_view_id/filters/:id
update a filter

put /katello/api/content_view_filters/:id
update a filter

Parámetros

Nombre del parámetro Descripción
content_view_id
opcional

identificador de vista de contenido

Validations:

  • Must be a number.

id
requerido

identificador de filtro

Validations:

  • Must be a number.

name
opcional

nuevo nombre para el filtro

Validations:

  • String

original_packages
opcional

add all packages without errata to the included/excluded list. (package filter only)

Validations:

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

inclusion
opcional

especifica si se debe incluir o excluir el contenido, predeterminado: inclusion=false

Validations:

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

repository_ids
opcional

lista de ID de repositorio

Validations:

  • Must be an array of any type


delete /katello/api/content_views/:content_view_id/filters/:id
delete a filter

delete /katello/api/content_view_filters/:id
delete a filter

Parámetros

Nombre del parámetro Descripción
content_view_id
opcional

identificador de vista de contenido

Validations:

  • Must be a number.

id
requerido

identificador de filtro

Validations:

  • Must be a number.