GET /api/hosts/692292738/errata 200 { "total": 0, "subtotal": 0, "selectable": 0, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "updated", "order": "desc" }, "results": [] }
Param name | Description |
---|---|
host_id required |
UUID of the content host Validations:
|
content_view_id optional |
Calculate Applicable Errata based on a particular Content View Validations:
|
environment_id optional |
Calculate Applicable Errata based on a particular Environment Validations:
|
include_applicable optional |
Return errata that are applicable to this host. Defaults to false) Validations:
|
type optional |
Return only errata of a particular type (security, bugfix, enhancement) Validations:
|
severity optional |
Return only errata of a particular severity (None, Low, Moderate, Important, Critical) 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:
|
DEPRECATED
PUT /api/hosts/980190962/errata/apply { "errata_ids": [ "RHSA-1999-1231" ], "host_erratum": { "errata_ids": [ "RHSA-1999-1231" ] } } 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 |
---|---|
host_id required |
Host ID Validations:
|
errata_ids required |
List of Errata ids to install. Will be removed in a future release Validations:
|
included required |
Errata to exclusively include in the action Validations:
|
included[search] optional , nil allowed |
Search string for erratum to perform an action on Validations:
|
included[ids] optional , nil allowed |
List of errata ids to perform an action on, (ex: RHSA-2019:1168) Validations:
|
excluded required |
Errata to explicitly exclude in the action. All other applicable errata will be included in the action, unless an included parameter is passed as well. Validations:
|
excluded[ids] optional , nil allowed |
List of errata ids to exclude and not run an action on, (ex: RHSA-2019:1168) 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:
|
Param name | Description |
---|---|
host_id required |
Host ID Validations:
|
id required |
Errata id of the erratum (RHSA-2012:108) Validations:
|
PUT /api/hosts/980190962/errata/applicability { "host_erratum": {} } 202 [ ]
Param name | Description |
---|---|
host_id required |
Host ID Validations:
|