Examples

PUT /katello/api/content_view_filters/696247676/rules/36287325
{
  "name": "testpkg",
  "version": "10.0",
  "content_view_filter_rule": {
    "name": "testpkg",
    "version": "10.0"
  }
}
200
{
  "content_view_filter_id": 696247676,
  "version": "10.0",
  "id": 36287325,
  "name": "testpkg",
  "created_at": "2024-02-22 18:22:29 UTC",
  "updated_at": "2024-02-22 18:22:34 UTC"
}

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