GET /katello/api/content_view_filters/696247676/rules 200 { "total": 3, "subtotal": 3, "selectable": 3, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "id", "order": "asc" }, "results": [ { "content_view_filter_id": 696247676, "version": "1.0", "id": 36287325, "name": "package def", "created_at": "2024-02-22 18:22:29 UTC", "updated_at": "2024-02-22 18:22:29 UTC" }, { "content_view_filter_id": 696247676, "id": 345632790, "name": "one", "created_at": "2024-02-22 18:22:29 UTC", "updated_at": "2024-02-22 18:22:29 UTC" }, { "content_view_filter_id": 696247676, "id": 1022052800, "name": "one", "created_at": "2024-02-22 18:22:29 UTC", "updated_at": "2024-02-22 18:22:29 UTC" } ] }
Param name | Description |
---|---|
content_view_filter_id
required |
filter identifier Validations:
|
name
optional |
name of the content view filter rule Validations:
|
errata_id
optional |
errata_id of the content view filter rule Validations:
|
search
optional |
Search string Validations:
|
page
optional |
Page number, starting at 1 Validations:
|
per_page
optional |
Number of results per page to return Validations:
|
order
optional |
Sort field and order, eg. 'id DESC' Validations:
|
full_result
optional |
Whether or not to show all results Validations:
|
sort_by
optional |
Field to sort the results on Validations:
|
sort_order
optional |
How to order the sorted results (e.g. ASC for ascending) Validations:
|
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" }
Param name | Description |
---|---|
content_view_filter_id
required |
filter identifier Validations:
|
name
optional |
deb, package, package group, or docker tag names Validations:
|
uuid
optional |
package group: uuid Validations:
|
version
optional |
package: version Validations:
|
architecture
optional |
package: architecture Validations:
|
min_version
optional |
package: minimum version Validations:
|
max_version
optional |
package: maximum version Validations:
|
errata_id
optional |
erratum: id Validations:
|
errata_ids
optional |
erratum: IDs or a select all object Validations:
|
start_date
optional |
erratum: start date (YYYY-MM-DD) Validations:
|
end_date
optional |
erratum: end date (YYYY-MM-DD) Validations:
|
types
optional |
erratum: types (enhancement, bugfix, security) Validations:
|
date_type
optional |
erratum: search using the 'Issued On' or 'Updated On' column of the errata. Values are 'issued'/'updated' Validations:
|
module_stream_ids
optional |
module stream ids Validations:
|
GET /katello/api/content_view_filters/696247676/rules/36287325 204
Param name | Description |
---|---|
content_view_filter_id
required |
filter identifier Validations:
|
id
required |
rule identifier Validations:
|
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" }
Param name | Description |
---|---|
content_view_filter_id
required |
filter identifier Validations:
|
id
required |
rule identifier Validations:
|
name
optional |
package, package group, or docker tag: name Validations:
|
version
optional |
package: version Validations:
|
architecture
optional |
package: architecture Validations:
|
min_version
optional |
package: minimum version Validations:
|
max_version
optional |
package: maximum version Validations:
|
errata_id
optional |
erratum: id Validations:
|
start_date
optional |
erratum: start date (YYYY-MM-DD) Validations:
|
end_date
optional |
erratum: end date (YYYY-MM-DD) Validations:
|
types
optional |
erratum: types (enhancement, bugfix, security) Validations:
|
DELETE /katello/api/content_view_filters/696247676/rules/36287325 { "content_view_filter_rule": {} } 204
Param name | Description |
---|---|
content_view_filter_id
required |
filter identifier Validations:
|
id
required |
rule identifier Validations:
|