Project

General

Profile

Bug #20478

POST /api/hosts/bulk/applicable_errata API doc has incorrect URL pointing to installable_errata.html

Added by Nagoor Shaik about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

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.

Associated revisions

Revision 4ca55e14 (diff)
Added by Nagoor Shaik about 4 years ago

Fixes #20478 - fixes API doc related to hosts/bulk/installable_errata

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6893 added

#2 Updated by Eric Helms about 4 years ago

  • Legacy Backlogs Release (now unused) set to 250

#3 Updated by Nagoor Shaik about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Nagoor Shaik about 4 years ago

  • Bugzilla link set to 1476895

Also available in: Atom PDF