Examples

GET /katello/api/content_view_filters
200
{
  "total": 7,
  "subtotal": 0,
  "selectable": 0,
  "page": 1,
  "per_page": 20,
  "error": null,
  "search": "name = Simple Filter",
  "sort": {
    "by": "name",
    "order": "asc"
  },
  "results": []
}

Params

Param name Description
search
optional

Search string

Validations:

  • String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return

Validations:

  • Must be a number.

order
optional

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
optional

Whether or not to show all results

Validations:

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

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:

  • Must be a number.

name
optional

filter content view filters by name

Validations:

  • String

types
optional

types of filters

Validations:

  • Must be an array of any type

Search fields

Field name Type Possible values
content_type rpm, deb, package_group, erratum, docker, modulemd
inclusion_type include, exclude
name string