From b4f560d4e193f457d2cd5724c62d2b6adcaf332b Mon Sep 17 00:00:00 2001 From: zhangbailin Date: Wed, 16 Dec 2020 01:47:07 +0000 Subject: [PATCH] Improving the description for unshelve request body The 'availability_zone' description in unshelve api-ref is confusing, adding NOTE for unshelve request body: Since microversion 2.77, allowed request body schema are {"unshelve": null} or {"unshelve": {"availability_zone": }}. A request body of {"unshelve":{}} is not allowed. Closes-Bug: #1908336 Change-Id: I66c209baf11c37ffebca52764263daae9e1dd50b --- api-ref/source/servers-action-shelve.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api-ref/source/servers-action-shelve.inc b/api-ref/source/servers-action-shelve.inc index 4bb63ceb7e..08ca65dadd 100644 --- a/api-ref/source/servers-action-shelve.inc +++ b/api-ref/source/servers-action-shelve.inc @@ -143,6 +143,10 @@ Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNo Request ------- +.. note:: Since microversion 2.77, allowed request body schema are + {"unshelve": null} or {"unshelve": {"availability_zone": }}. + A request body of {"unshelve": {}} is not allowed. + .. rest_parameters:: parameters.yaml - server_id: server_id_path