GET /katello/api/products/:product_id/repository_sets
List repository sets for a product.

Parametry

Nazwa parametru Opis
product_id
wymagany

ID of a product to list repository sets from

Validations:

  • number.

name
opcjonalny

Repository set name to search on

Validations:

  • String

enabled
opcjonalny

If true, only return repository sets that have been enabled. Defaults to false

Validations:

  • boolean

search
opcjonalny

Search string

Validations:

  • String

page
opcjonalny

Page number, starting at 1

Validations:

  • number.

per_page
opcjonalny

Number of results per page to return

Validations:

  • number.

order
opcjonalny

Sort field and order, eg. 'name DESC'

Validations:

  • String

full_result
opcjonalny

Whether or not to show all results

Validations:

  • boolean

sort
opcjonalny

Hash version of 'order' param

Validations:

  • Hash

sort[by]
opcjonalny

Field to sort the results on

Validations:

  • String

sort[order]
opcjonalny

How to order the sorted results (e.g. ASC for ascending)

Validations:

  • String


GET /katello/api/products/:product_id/repository_sets/:id
Get info about a repository set

Parametry

Nazwa parametru Opis
id
wymagany

ID of the repository set

Validations:

  • number.

product_id
wymagany

ID of a product to list repository sets from

Validations:

  • number.


GET /katello/api/products/:product_id/repository_sets/:id/available_repositories
Get list of available repositories for the repository set

Parametry

Nazwa parametru Opis
id
wymagany

ID of the repository set

Validations:

  • number.

product_id
wymagany

ID of a product to list repository sets from

Validations:

  • number.


PUT /katello/api/products/:product_id/repository_sets/:id/enable
Enable a repository from the set

Parametry

Nazwa parametru Opis
id
wymagany

ID of the repository set to enable

Validations:

  • number.

product_id
wymagany

ID of the product containing the repository set

Validations:

  • number.

basearch
opcjonalny

Basearch to enable

Validations:

  • String

releasever
opcjonalny

Releasever to enable

Validations:

  • String


PUT /katello/api/products/:product_id/repository_sets/:id/disable
Disable a repository from the set

Parametry

Nazwa parametru Opis
id
wymagany

ID of the repository set to disable

Validations:

  • number.

product_id
wymagany

ID of the product containing the repository set

Validations:

  • number.

basearch
opcjonalny

Basearch to disable

Validations:

  • String

releasever
opcjonalny

Releasever to disable

Validations:

  • String