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

get /katello/api/content_view_filters
list filters

Paramètres

Nom du paramètre Description
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

content_view_id
requis

identifiant d'affichage du contenu

Validations:

  • Must be a number.

name
optionel

filter content view filters by name

Validations:

  • String

types
optionel

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

Paramètres

Nom du paramètre Description
content_view_id
requis

identifiant d'affichage du contenu

Validations:

  • Must be a number.

name
requis

nom du filtre

Validations:

  • String

type
requis

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

Validations:

  • String

original_packages
optionel

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

Validations:

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

inclusion
optionel

indique si le contenu doit être inclus ou exclu, par défaut : inclusion=false

Validations:

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

repository_ids
optionel

liste d'id de référentiel

Validations:

  • Must be an array of any type

description
optionel

description du filtre

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

Paramètres

Nom du paramètre Description
content_view_id
optionel

identifiant d'affichage du contenu

Validations:

  • Must be a number.

id
requis

identifiant de filtre

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

Paramètres

Nom du paramètre Description
content_view_id
optionel

identifiant d'affichage du contenu

Validations:

  • Must be a number.

id
requis

identifiant de filtre

Validations:

  • Must be a number.

name
optionel

nouveau nom du filtre

Validations:

  • String

original_packages
optionel

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

Validations:

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

inclusion
optionel

indique si le contenu doit être inclus ou exclu, par défaut : inclusion=false

Validations:

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

repository_ids
optionel

liste d'id de référentiel

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

Paramètres

Nom du paramètre Description
content_view_id
optionel

identifiant d'affichage du contenu

Validations:

  • Must be a number.

id
requis

identifiant de filtre

Validations:

  • Must be a number.