Project

General

Profile

Actions

Bug #4315

open

Hosts power management API doesn't return standard error responses

Added by Dominic Cleal over 10 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

From #4309.

The /hosts/:id/power, /hosts/:id/boot, /hosts/facts APIs don't use the standard error construct created in #3960 for APIv2, instead they just have a top level "error" node with a message value, rather than {"error":{"message":"..."}}.


Related issues 2 (0 open2 closed)

Related to Hammer CLI - Bug #4309: hammer host start no longer powers on VMware hostClosedActions
Related to Foreman - Bug #3869: API error messages poorly formattedClosedDaniel Lobato Garcia12/12/2013Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Related to Bug #4309: hammer host start no longer powers on VMware host added
Actions #2

Updated by Dominic Cleal over 10 years ago

  • Related to Bug #3869: API error messages poorly formatted added
Actions #3

Updated by Leos Stejskal about 3 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF