nova/releasenotes/notes/api-consistency-cleanup-700b260ced206d92.yaml
Ghanshyam Mann b26bc7fd7a Multiple API cleanup changes
This microversion implements below API cleanups:

1. 400 for unknown param for query param and for request body.

2. Making server representation always consistent among all APIs
   returning the complete server representation.

3. Change the default return value of ``swap`` field from the empty string
   to 0 (integer) in flavor APIs.

4. Return ``servers`` field always in the response of GET
   hypervisors API even there are no servers on hypervisor

Details: https://specs.openstack.org/openstack/nova-specs/specs/train/approved/api-consistency-cleanup.html

Partial-Implements: blueprint api-consistency-cleanup

Change-Id: I9d257a003d315b84b937dcef91f3cb41f3e24b53
2019-08-12 08:52:38 -05:00

18 lines
695 B
YAML

---
features:
- |
Multiple API cleanups is done in API microversion 2.75:
* 400 for unknown param for query param and for request body.
* Making server representation always consistent among GET, PUT
and Rebuild serevr APIs response. ``PUT /servers/{server_id}``
and ``POST /servers/{server_id}/action {rebuild}`` API response
is modified to add all the missing fields which are return
by ``GET /servers/{server_id}``.
* Change the default return value of swap field from the empty
string to 0 (integer) in flavor APIs.
* Return ``servers`` field always in the response of GET
hypervisors API even there are no servers on hypervisor.