GET /katello/api/content_view_filters/:content_view_filter_id/rules
List filter rules

Params

Param name Description
content_view_filter_id
required

filter identifier

Validations:

  • number.

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_result
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


POST /katello/api/content_view_filters/:content_view_filter_id/rules
Create a filter rule. The parameters included should be based upon the filter type.

Params

Param name Description
content_view_filter_id
required

filter identifier

Validations:

  • number.

name
optional

package, package group, or docker tag names

Validations:

  • Must be one of: String, Array.

uuid
optional

package group: uuid

Validations:

  • String

version
optional

package: version

Validations:

  • String

architecture
optional

package: architecture

Validations:

  • String

min_version
optional

package: minimum version

Validations:

  • String

max_version
optional

package: maximum version

Validations:

  • String

errata_id
optional

erratum: id

Validations:

  • String

errata_ids
optional

erratum: IDs or a select all object

Validations:

  • Must be an array of any type

start_date
optional

erratum: start date (YYYY-MM-DD)

Validations:

  • String

end_date
optional

erratum: end date (YYYY-MM-DD)

Validations:

  • String

types
optional

erratum: types (enhancement, bugfix, security)

Validations:

  • Must be an array of any type

date_type
optional

erratum: search using the ‘Issued On’ or ‘Updated On’ column of the errata. Values are ‘issued’/‘updated’

Validations:

  • String


GET /katello/api/content_view_filters/:content_view_filter_id/rules/:id
Show filter rule info

Params

Param name Description
content_view_filter_id
required

filter identifier

Validations:

  • number.

id
required

rule identifier

Validations:

  • number.


PUT /katello/api/content_view_filters/:content_view_filter_id/rules/:id
Update a filter rule. The parameters included should be based upon the filter type.

Params

Param name Description
content_view_filter_id
required

filter identifier

Validations:

  • number.

id
required

rule identifier

Validations:

  • number.

name
optional

package, package group, or docker tag: name

Validations:

  • String

version
optional

package: version

Validations:

  • String

architecture
optional

package: architecture

Validations:

  • String

min_version
optional

package: minimum version

Validations:

  • String

max_version
optional

package: maximum version

Validations:

  • String

errata_id
optional

erratum: id

Validations:

  • String

start_date
optional

erratum: start date (YYYY-MM-DD)

Validations:

  • String

end_date
optional

erratum: end date (YYYY-MM-DD)

Validations:

  • String

types
optional

erratum: types (enhancement, bugfix, security)

Validations:

  • Must be an array of any type


DELETE /katello/api/content_view_filters/:content_view_filter_id/rules/:id
Delete a filter rule

Params

Param name Description
content_view_filter_id
required

filter identifier

Validations:

  • number.

id
required

rule identifier

Validations:

  • number.