From 45dc058c5c3615d2713176a9a985df7dbd6b1130 Mon Sep 17 00:00:00 2001 From: zhufl Date: Wed, 7 Nov 2018 17:13:33 +0800 Subject: [PATCH] api-ref: fix succeed code and add field for update-backup https://developer.openstack.org/api-ref/block-storage/v3/index.html?expanded=update-a-backup-detail#update-a-backup 1. metadata is present in the response example of "Update a backup", but is missing from the response parameters. 2. succeed code of update-backup is 200, not 202 Change-Id: I5c6098b1950b361a38d4a2b3a928344a277a3ed0 --- api-ref/source/v3/ext-backups.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api-ref/source/v3/ext-backups.inc b/api-ref/source/v3/ext-backups.inc index 432df9733cd..ad55d4d2436 100644 --- a/api-ref/source/v3/ext-backups.inc +++ b/api-ref/source/v3/ext-backups.inc @@ -324,7 +324,7 @@ Response codes .. rest_status_code:: success ../status.yaml - - 202 + - 200 .. rest_status_code:: error ../status.yaml @@ -357,6 +357,7 @@ Response Parameters - id: id_backup - links: links_backup - name: name_backup + - metadata: metadata_backup Response Example ----------------