GET /katello/api/package_groups 200 { "total": 2, "subtotal": 2, "selectable": 2, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "name", "order": "asc" }, "results": [ { "id": 441261589, "name": "Katello Server Development", "pulp_id": "4f9eea2a-a124-497e-8492-828b6d938aaa", "uuid": "4f9eea2a-a124-497e-8492-828b6d938aaa", "description": "fun packages for servers", "repository": { "id": 367202338, "name": "Fedora 17 x86_64", "product": { "id": 785257261, "name": "Fedora" } } }, { "id": 283985760, "name": "mammals", "pulp_id": "4f9eea2a-a124-497e-8492-828b64444abc", "uuid": "4f9eea2a-a124-497e-8492-828b64444abc", "description": "all kinds of mammals", "repository": { "id": 367202338, "name": "Fedora 17 x86_64", "product": { "id": 785257261, "name": "Fedora" } } } ] }
Param name | Description |
---|---|
organization_id optional |
organization identifier Validations:
|
content_view_version_id optional |
content view version identifier Validations:
|
content_view_filter_id optional |
content view filter identifier Validations:
|
content_view_filter_rule_id optional |
content view filter rule identifier Validations:
|
repository_id optional |
repository identifier Validations:
|
environment_id optional |
environment identifier Validations:
|
ids optional |
ids to filter content by Validations:
|
include_filter_ids optional |
Includes associated content view filter ids in response 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:
|
GET /katello/api/package_groups/283985760 204
Param name | Description |
---|---|
repository_id optional |
repository identifier Validations:
|
organization_id optional |
organization identifier Validations:
|
id required |
a package group identifier Validations:
|
GET /katello/api/package_groups/compare 200 { "total": 2, "subtotal": 2, "selectable": 2, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "name", "order": "asc" }, "results": [ { "id": 441261589, "name": "Katello Server Development", "pulp_id": "4f9eea2a-a124-497e-8492-828b6d938aaa", "uuid": "4f9eea2a-a124-497e-8492-828b6d938aaa", "description": "fun packages for servers", "repository": { "id": 367202338, "name": "Fedora 17 x86_64", "product": { "id": 785257261, "name": "Fedora" } }, "comparison": [ 840492357 ] }, { "id": 283985760, "name": "mammals", "pulp_id": "4f9eea2a-a124-497e-8492-828b64444abc", "uuid": "4f9eea2a-a124-497e-8492-828b64444abc", "description": "all kinds of mammals", "repository": { "id": 367202338, "name": "Fedora 17 x86_64", "product": { "id": 785257261, "name": "Fedora" } }, "comparison": [ 840492357 ] } ] }
Param name | Description |
---|---|
content_view_version_ids optional |
content view versions to compare Validations:
|
repository_id optional |
Library repository id to restrict comparisons to Validations:
|
restrict_comparison optional |
Return same, different or all results Validations:
|
POST /katello/api/package_groups { "repository_id": 367202338, "name": "My_Group", "description": "My Group", "mandatory_package_names": [ "katello-agent" ], "package_group": { "name": "My_Group", "description": "My Group" } } 200 { "status": "success" }
Param name | Description |
---|---|
repository_id required |
repository_id Validations:
|
name required |
package group name Validations:
|
description optional |
package group description. Defaults to params Validations:
|
user_visible optional |
set “user_visible” flag on package group. Defaults to true Validations:
|
mandatory_package_names optional |
mandatory package names to include in the package group Validations:
|
optional_package_names optional |
optional package names to include in the package group Validations:
|
conditional_package_names optional |
conditional package names to include in the package group Validations:
|
default_package_names optional |
default package names to include in the package group Validations:
|
DELETE /katello/api/package_groups { "name": "My_Group", "repository_id": 367202338, "package_group": { "name": "My_Group" } } 200 { "status": "success" }
Param name | Description |
---|---|
name required |
package group name Validations:
|
repository_id required |
repository_id Validations:
|