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
This commit is contained in:
zhufl 2018-11-07 17:13:33 +08:00
parent 476ed701e2
commit 45dc058c5c

View File

@ -324,7 +324,7 @@ Response codes
.. rest_status_code:: success ../status.yaml .. rest_status_code:: success ../status.yaml
- 202 - 200
.. rest_status_code:: error ../status.yaml .. rest_status_code:: error ../status.yaml
@ -357,6 +357,7 @@ Response Parameters
- id: id_backup - id: id_backup
- links: links_backup - links: links_backup
- name: name_backup - name: name_backup
- metadata: metadata_backup
Response Example Response Example
---------------- ----------------