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

Params

Param name Description
product_id
required

ID of a product to list repository sets from

Validations:

  • number.

name
optional

Repository set name to search on

Validations:

  • String

search
optional

Search string

Validations:

  • String

page
optional

Page number, starting at 1

Validations:

  • number.

per_page
optional

Number of results per page to return

Validations:

  • number.

order
optional

Sort field and order, eg. ‘name DESC’

Validations:

  • String

full_result
optional

Whether or not to show all results

Validations:

  • boolean

sort
optional

Hash version of ‘order’ param

Validations:

  • Hash

sort[by]
optional

Field to sort the results on

Validations:

  • String

sort[order]
optional

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

Params

Param name Description
id
required

ID of the repository set

Validations:

  • number.

product_id
required

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

Params

Param name Description
id
required

ID of the repository set

Validations:

  • number.

product_id
required

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

Params

Param name Description
id
required

ID of the repository set to enable

Validations:

  • number.

product_id
required

ID of the product containing the repository set

Validations:

  • number.

basearch
optional

Basearch to enable

Validations:

  • String

releasever
optional

Releasever to enable

Validations:

  • String


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

Params

Param name Description
id
required

ID of the repository set to disable

Validations:

  • number.

product_id
required

ID of the product containing the repository set

Validations:

  • number.

basearch
optional

Basearch to disable

Validations:

  • String

releasever
optional

Releasever to disable

Validations:

  • String