Project

General

Profile

Actions

Bug #20478

closed

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

Added by Nagoor Shaik almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
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.

Actions #1

Updated by The Foreman Bot almost 7 years ago

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

Updated by Eric Helms almost 7 years ago

  • translation missing: en.field_release set to 250
Actions #3

Updated by Nagoor Shaik almost 7 years ago

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

Updated by Nagoor Shaik over 6 years ago

  • Bugzilla link set to 1476895
Actions

Also available in: Atom PDF