Examples

POST /katello/api/content_view_filters/696247676/rules
{
  "name": "testpkg",
  "version": "10.0",
  "content_view_filter_rule": {
    "name": "testpkg",
    "version": "10.0"
  }
}
201
{
  "content_view_filter_id": 696247676,
  "version": "10.0",
  "id": 1033226504,
  "name": "testpkg",
  "created_at": "2024-02-22 18:22:33 UTC",
  "updated_at": "2024-02-22 18:22:33 UTC"
}

Params

Param name Description
content_view_filter_id
required

filter identifier

Validations:

  • Must be a number.

name
optional

deb, 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