GET /api/hosts/:host_id/errata
List errata available for the content host

Params

Param Name Description
host_id
Required

UUID of the content host

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

content_view_id
Optional

Calculate Applicable Errata based on a particular Content View

Validations:

  • number.

environment_id
Optional

Calculate Applicable Errata based on a particular Environment

Validations:

  • number.

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_results
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


PUT /api/hosts/:host_id/errata/apply
Schedule errata for installation

Params

Param Name Description
host_id
Required

Host ID

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

errata_ids
Required

List of Errata ids to install

Validations:

  • Must be an array of any type


GET /api/hosts/:host_id/errata/:id
Retrieve a single errata for a host

Params

Param Name Description
host_id
Required

Host ID

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

id
Required

Errata id of the erratum (RHSA-2012:108)

Validations:

  • String