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

get /katello/api/content_view_filters
list filters

Parametry

Nazwa parametru Opis
search
opcjonalny

Search string

Validations:

  • String

page
opcjonalny

Page number, starting at 1

Validations:

  • Must be a number.

per_page
opcjonalny

Number of results per page to return

Validations:

  • Must be a number.

order
opcjonalny

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
opcjonalny

Whether or not to show all results

Validations:

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

sort
opcjonalny

Hash version of 'order' param

Validations:

  • Hash

sort[by]
opcjonalny

Field to sort the results on

Validations:

  • String

sort[order]
opcjonalny

How to order the sorted results (e.g. ASC for ascending)

Validations:

  • String

content_view_id
wymagany

content view identifier

Validations:

  • Must be a number.

name
opcjonalny

filter content view filters by name

Validations:

  • String

types
opcjonalny

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

Parametry

Nazwa parametru Opis
content_view_id
wymagany

content view identifier

Validations:

  • Must be a number.

name
wymagany

name of the filter

Validations:

  • String

type
wymagany

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

Validations:

  • String

original_packages
opcjonalny

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

Validations:

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

inclusion
opcjonalny

specifies if content should be included or excluded, default: inclusion=false

Validations:

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

repository_ids
opcjonalny

list of repository ids

Validations:

  • Must be an array of any type

description
opcjonalny

description of the filter

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

Parametry

Nazwa parametru Opis
content_view_id
opcjonalny

content view identifier

Validations:

  • Must be a number.

id
wymagany

filter identifier

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

Parametry

Nazwa parametru Opis
content_view_id
opcjonalny

content view identifier

Validations:

  • Must be a number.

id
wymagany

filter identifier

Validations:

  • Must be a number.

name
opcjonalny

new name for the filter

Validations:

  • String

original_packages
opcjonalny

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

Validations:

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

inclusion
opcjonalny

specifies if content should be included or excluded, default: inclusion=false

Validations:

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

repository_ids
opcjonalny

list of repository ids

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

Parametry

Nazwa parametru Opis
content_view_id
opcjonalny

content view identifier

Validations:

  • Must be a number.

id
wymagany

filter identifier

Validations:

  • Must be a number.