GET /katello/api/products/1073012828/repository_sets 200 { "total": 0, "subtotal": 0, "selectable": 0, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "name", "order": "asc" }, "results": [] }
Param name | Description |
---|---|
product_id
optional |
ID of a product to list repository sets from Validations:
|
name
optional |
Repository set name to search on Validations:
|
enabled
optional |
If true, only return repository sets that have been enabled. Defaults to false Validations:
|
with_active_subscription
optional |
If true, only return repository sets that are associated with an active subscriptions Validations:
|
organization_id
optional |
organization identifier Validations:
|
with_custom
optional |
If true, return custom repository sets along with redhat repos. Will be ignored if repository_type is supplied. Validations:
|
activation_key_id
optional |
activation key identifier Validations:
|
host_id
optional |
Id of the host Validations:
|
content_access_mode_all
optional |
Get all content available, not just that provided by subscriptions. Validations:
|
content_access_mode_env
optional |
Limit content to just that available in the host's or activation key's content view version and lifecycle environment. Validations:
|
status
optional |
Limit content to enabled / disabled / overridden Validations:
|
repository_type
optional |
Limit content to Red Hat / custom 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:
|
Field name | Type | Possible values |
---|---|---|
content_label | string | |
content_type | string | |
enabled_by_default | true, false | |
label | string | |
name | string | |
path | string | |
product | string | |
product_id | integer | |
product_name | string | |
redhat | true, false |
Param name | Description |
---|---|
id
required |
ID of the repository set Validations:
|
product_id
optional |
ID of a product to list repository sets from Validations:
|
organization_id
optional |
organization identifier Validations:
|
GET /katello/api/products/1073012828/repository_sets/content-123/available_repositories 204
Param name | Description |
---|---|
id
required |
ID of the repository set Validations:
|
product_id
optional |
ID of a product to list repository sets from Validations:
|
organization_id
optional |
organization identifier Validations:
|
PUT /katello/api/products/1073012828/repository_sets/content-123/enable { "repository_set": {} } 202 { "id": null, "label": null, "pending": null, "username": null, "started_at": null, "ended_at": null, "state": null, "result": null, "progress": null, "input": null, "output": {}, "humanized": null, "cli_example": null, "available_actions": { "cancellable": null, "resumable": null } }
Param name | Description |
---|---|
id
required |
ID of the repository set to enable Validations:
|
product_id
optional |
ID of the product containing the repository set Validations:
|
basearch
optional |
Basearch to enable Validations:
|
releasever
optional |
Releasever to enable Validations:
|
organization_id
optional |
organization identifier Validations:
|
PUT /katello/api/products/1073012828/repository_sets/content-123/disable { "basearch": "x86_64", "releasever": "6Server", "repository_set": { "basearch": "x86_64", "releasever": "6Server" } } 202 { "id": null, "label": null, "pending": null, "username": null, "started_at": null, "ended_at": null, "state": null, "result": null, "progress": null, "input": null, "output": {}, "humanized": null, "cli_example": null, "available_actions": { "cancellable": null, "resumable": null } }
Param name | Description |
---|---|
id
required |
ID of the repository set to disable Validations:
|
repository_id
optional |
ID of the repository within the set to disable Validations:
|
product_id
optional |
ID of the product containing the repository set Validations:
|
basearch
optional |
Basearch to disable Validations:
|
releasever
optional |
Releasever to disable Validations:
|
organization_id
optional |
organization identifier Validations:
|