Bug #20478
closedPOST /api/hosts/bulk/applicable_errata API doc has incorrect URL pointing to installable_errata.html
Description
API doc incorrect URL redirection for `POST /api/hosts/bulk/applicable_errata API` to installable_erratum.html.
Also the ":applicable_errata" isn't defined in the host_bulk_actions controller
Visiting this page
~~
https://foreman-devel.example.com/apidoc/v2/hosts_bulk_actions/installable_errata.html
~~
has following content
~~~
POST /api/hosts/bulk/applicable_errata
Fetch applicable errata for a host.
Params
Param name Description
organization_id
required
ID of the organization
Validations:
string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..
included
required
Validations:
Hash
included[search]
optional , nil allowed
Search string for hosts to perform an action on
Validations:
String
included[ids]
optional , nil allowed
List of host ids to perform an action on
Validations:
Must be an array of any type
excluded
required
Validations:
Hash
excluded[ids]
optional , nil allowed
List of host ids to exclude and not run an action on
Validations:
Must be an array of any type
~~~
which is incorrect.