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.
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6893 added
Updated by Eric Helms over 7 years ago
- Translation missing: en.field_release set to 250
Updated by Nagoor Shaik over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|4ca55e14424e16adff4ef5764cc8f30868214421.