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

get /katello/api/content_view_filters
list filters

Params

Param Name Description
search
Optional

Search string

Validations:

  • String

page
Optional

Page number, starting at 1

Validations:

  • number.

per_page
Optional

Number of results per page to return

Validations:

  • number.

order
Optional

Sort field and order, eg. 'name DESC'

Validations:

  • String

full_results
Optional

Whether or not to show all results

Validations:

  • boolean

sort
Optional

Hash version of 'order' param

Validations:

  • Hash

sort[by]
Optional

Field to sort the results on

Validations:

  • String

sort[order]
Optional

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

Validations:

  • String

content_view_id
Required

content view identifier

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

name
Optional

filter content view filters by name

Validations:

  • String


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

Params

Param Name Description
content_view_id
Required

content view identifier

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

name
Required

name of the filter

Validations:

  • String

type
Required

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

Validations:

  • String

original_packages
Optional

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

Validations:

  • boolean

inclusion
Optional

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

Validations:

  • boolean

repository_ids
Optional

list of repository ids

Validations:

  • Must be an array of any type

description
Optional

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

Params

Param Name Description
content_view_id
Optional

content view identifier

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

id
Required

filter identifier

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


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

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

Params

Param Name Description
content_view_id
Optional

content view identifier

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

id
Required

filter identifier

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

name
Optional

new name for the filter

Validations:

  • String

original_packages
Optional

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

Validations:

  • boolean

inclusion
Optional

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

Validations:

  • boolean

repository_ids
Optional

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

Params

Param Name Description
content_view_id
Optional

content view identifier

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

id
Required

filter identifier

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..