blazar/api-ref/source/v1
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
..
hosts.inc Fix POST and PUT status codes and update API Reference 2018-07-18 00:43:26 +00:00
index.rst Update links to API reference 2018-02-19 14:40:02 +09:00
leases.inc Fix POST and PUT status codes and update API Reference 2018-07-18 00:43:26 +00:00
parameters.yaml Fix typos 2018-02-08 15:15:46 +00:00