Project

General

Profile

Actions

Bug #4315

open

Hosts power management API doesn't return standard error responses

Added by Dominic Cleal almost 11 years ago. Updated almost 4 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

Also available in: Atom PDF