GET /katello/api/content_view_filters/696247676/rules 204
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", "testpkg2" ], "version": "10.0", "content_view_filter_rule": { "name": [ "testpkg", "testpkg2" ], "version": "10.0" } } 200 { "total": null, "subtotal": null, "selectable": null, "page": null, "per_page": null, "error": null, "search": null, "sort": { "by": null, "order": null }, "results": [ { "content_view_filter_id": 696247676, "version": "10.0", "id": 1033226557, "name": "testpkg", "created_at": "2024-05-23 20:13:04 UTC", "updated_at": "2024-05-23 20:13:04 UTC" }, { "content_view_filter_id": 696247676, "version": "10.0", "id": 1033226558, "name": "testpkg2", "created_at": "2024-05-23 20:13:04 UTC", "updated_at": "2024-05-23 20:13:04 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/1033226503 404 { "displayMessage": "Couldn't find Katello::ContentViewPackageFilterRule with 'id'=1033226503 [WHERE \"katello_content_view_package_filter_rules\".\"content_view_filter_id\" = $1]", "errors": [ "Couldn't find Katello::ContentViewPackageFilterRule with 'id'=1033226503 [WHERE \"katello_content_view_package_filter_rules\".\"content_view_filter_id\" = $1]" ] }
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": "new name", "content_view_filter_rule": { "name": "new name" } } 204
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": {} } 200 { "content_view_filter_id": 696247676, "version": "1.0", "id": 36287325, "name": "package def", "created_at": "2024-05-23 19:46:01 UTC", "updated_at": "2024-05-23 19:46:01 UTC" }
Param name | Description |
---|---|
content_view_filter_id
required |
filter identifier Validations:
|
id
required |
rule identifier Validations:
|