List Red Hat Insights for a Host
get
/api/v2/hosts/{id}/insights/
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
page(optional): integer
A page number within the paginated result set.
-
page_size(optional): integer
Number of results to return per page.
-
search(optional): string
A search term.
Response
Supported Media Types
- application/json
200 Response
404 Response
Example Response (application/json)
{
"error":"The Insights Credential for \"test-inv\" was not found."
}
502 Response
Example Response (application/json)
{
"error":"Expected JSON response from Insights at URL https://example.org/api/inventory/v1/hosts?insights_id=123e4567-e89b-12d3-a456-426655440000 but instead got booo!"
}
504 Response
Example Response (application/json)
{
"error":"Request to https://example.org/api/inventory/v1/hosts?insights_id=123e4567-e89b-12d3-a456-426655440000 timed out."
}