api-ref: fix response code and data type for volume interfaces
1. https://developer.openstack.org/api-ref/block-storage/v3/?expanded=get-volumes-summary-detail#get-volumes-summary total_count in "Get volumes summary" should be integer 2. https://developer.openstack.org/api-ref/block-storage/v3/index.html#create-metadata-for-volume Response code for "Create metadata for volume" interface should be 200. Change-Id: If278e939a9a580329e24709877c13ed4e70d6180
This commit is contained in:
parent
54900fd866
commit
cf11b8dfed
@ -495,7 +495,7 @@ Response codes
|
||||
|
||||
.. rest_status_code:: success ../status.yaml
|
||||
|
||||
- 202
|
||||
- 200
|
||||
|
||||
|
||||
Request
|
||||
|
@ -2792,6 +2792,12 @@ total_count:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
total_count_int:
|
||||
description: |
|
||||
Total number of volumes.
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
total_size:
|
||||
description: |
|
||||
Total size of volumes in GB.
|
||||
|
@ -516,7 +516,7 @@ Response codes
|
||||
|
||||
.. rest_status_code:: success ../status.yaml
|
||||
|
||||
- 202
|
||||
- 200
|
||||
|
||||
|
||||
Request
|
||||
@ -785,7 +785,7 @@ Response Parameters
|
||||
|
||||
- volume-summary: volume-summary
|
||||
- total_size: total_size
|
||||
- total_count: total_count
|
||||
- total_count: total_count_int
|
||||
- metadata: summary_metadata
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user