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:

  • Must be a number.

name
optional

name of the content view filter rule

Validations:

  • String

errata_id
optional

errata_id of the content view filter rule

Validations:

  • String

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


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:

  • Must be a number.

name
optional

package, package group, or docker tag names

Validations:

  • Must be an array of [String]

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

module_stream_ids
optional

module stream ids

Validations:

  • Must be an array of any type


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:

  • Must be a number.

id
required

rule identifier

Validations:

  • Must be a 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:

  • Must be a number.

id
required

rule identifier

Validations:

  • Must be a 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:

  • Must be a number.

id
required

rule identifier

Validations:

  • Must be a number.