GET /api/hosts/298486374/errata
200
{
"total": 2,
"subtotal": 2,
"selectable": 2,
"page": 1,
"per_page": 20,
"error": null,
"search": null,
"sort": {
"by": "updated",
"order": "desc"
},
"results": [
{
"id": 94098884,
"pulp_id": "partylikeits1999",
"title": "World is ending",
"errata_id": "RHSA-1999-1231",
"issued": "2023-08-20",
"updated": "2023-08-20",
"severity": "Critical",
"description": null,
"solution": null,
"summary": null,
"reboot_suggested": true,
"uuid": "partylikeits1999",
"name": "World is ending",
"type": "security",
"cves": [
{
"cve_id": "CVE-2223-0322",
"href": "https://www.redhat.com/security/data/cve/CVE-2233-0322.html"
}
],
"bugs": [],
"hosts_available_count": 0,
"hosts_applicable_count": 2,
"packages": [
"foobar-1.2.3"
],
"module_streams": [],
"installable": false
},
{
"id": 92680584,
"pulp_id": "100dividedby0",
"title": "Divide by zero",
"errata_id": "RHBA-2014-013",
"issued": "2023-08-20",
"updated": "2023-08-20",
"severity": null,
"description": null,
"solution": null,
"summary": null,
"reboot_suggested": null,
"uuid": "100dividedby0",
"name": "Divide by zero",
"type": "enhancement",
"cves": [],
"bugs": [],
"hosts_available_count": 0,
"hosts_applicable_count": 2,
"packages": [],
"module_streams": [],
"installable": false
}
]
}
| 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:
|