blazar/blazar/api/v2
Tetsuro Nakamura 9da871ac59 Fix POST and PUT status codes and update API Reference
Blazar returned 202 (Accepted) for POST and PUT methods. However, the
POST method should return 201 (Created) because Blazar ensures that a
new host or a new lease is created before responding. Similarly, the PUT
method should return 200 (OK) since Blazar ensures that the resource is
updated properly.

This patch also fixes the status code documented in the API Reference
for DELETE requests, which was wrongly described as 200 (OK) instead of
204 (No Content). The release note is submitted in a separate patch.

Change-Id: Ia5afd12552e4c9169ebe35324d5a5b4495359b63
2018-07-18 00:43:26 +00:00
..
controllers Fix POST and PUT status codes and update API Reference 2018-07-18 00:43:26 +00:00
middleware Fix JSON serialization issues with Python3 2018-01-22 14:00:26 +09:00
__init__.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
app.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
hooks.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00