GET /katello/api/packages
List packages

GET /katello/api/content_views/:content_view_id/filters/:filter_id/:resource_id
List :resource_id

GET /katello/api/content_view_filters/:content_view_filter_id/:resource_id
List :resource_id

GET /katello/api/repositories/:repository_id/:resource_id
List :resource_id

Params

Param name Description
organization_id
optional

organization identifier

Validations:

  • Must be a number.

content_view_version_id
optional

content view version identifier

Validations:

  • Must be a number.

content_view_filter_id
optional

content view filter identifier

Validations:

  • Must be a number.

repository_id
optional

repository identifier

Validations:

  • Must be a number.

environment_id
optional

environment identifier

Validations:

  • Must be a number.

ids
optional

ids to filter content by

Validations:

  • Must be an array of any type

host_id
optional

host id to list applicable packages for

Validations:

  • Must be a number.

packages_restrict_upgradable
optional

Only show packages that are upgradable in the host(s) Content View.

Validations:

  • Must be one of: true, false, 1, 0

packages_restrict_applicable
optional

Only show packages that are applicable to hosts (defaults to true if host_id is specified)

Validations:

  • Must be one of: true, false, 1, 0

search
optional

Search string

Validations:

  • String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return

Validations:

  • Must be a number.

order
optional

Sort field and order, eg. ‘name DESC’

Validations:

  • String

full_result
optional

Whether or not to show all results

Validations:

  • Must be one of: true, false, 1, 0

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/packages/:id
Show a package

GET /katello/api/repositories/:repository_id/packages/:id
Show a package

Params

Param name Description
repository_id
optional

repository identifier

Validations:

  • Must be a number.

id
required

a package identifier

Validations:

  • String


GET /katello/api/packages/compare
List packages

Params

Param name Description
content_view_version_ids
optional

content view versions to compare

Validations:

  • Must be an array of any type

repository_id
optional

Library repository id to restrict comparisons to

Validations:

  • Must be a number.