How can I use the API of Satellite 6 to retrieve the list of applicable erratas for hosts?

Solution Verified - Updated -

Issue

  • Using the API to retrieve the list of outstanding erratas for a host returns the list of installable erratas only (that is, the list of erratas available in the Content View assigned to the host).

    https://satellite.example.com/api/v2/hosts/50/errata
    
  • How can I use the API to retrieve the list of applicable erratas for a host? (that is, the list of erratas that apply to the host regardless of whether these erratas are available in the content view assigned the host).

Environment

  • Red Hat Satellite 6.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content