summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorKazuhiro MIYAHARA <miyahara.kazuhiro@lab.ntt.co.jp>2017-09-05 09:14:20 +0000
committerKazuhiro MIYAHARA <miyahara.kazuhiro@lab.ntt.co.jp>2017-09-06 04:16:40 +0000
commit275da4c18eb47e5e9f7e4f289497aa63292bc9d8 (patch)
treeb095eceeccfcfb67695ab995bac55bc720365b0e /api-ref
parent6da17e992375cba37035527e69ef17aa6a5d6f28 (diff)
downloadswift-275da4c18eb47e5e9f7e4f289497aa63292bc9d8.tar.gz
Fix bytes and name API reference of Container GET
In current API reference, 'bytes' and 'name' descriptions of Container GET are shared with Account GET. However, the descriptions are not correct for Container GET. This patch separate descriptions for Container GET and descriptions for Account GET and fix descriptions for Container GET. Change-Id: Ibedd08c5d9ebe145caf567edbd9757d7bc83b96d
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/parameters.yaml17
-rw-r--r--api-ref/source/storage-account-services.inc4
-rw-r--r--api-ref/source/storage-container-services.inc4
3 files changed, 19 insertions, 6 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index c10b67839..c8dc8ae7d 100644
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -1118,13 +1118,20 @@ temp_url_sig:
type: string
# variables in body
-bytes:
+bytes_in_account_get:
description: |
The total number of bytes that are stored in
Object Storage for the account.
in: body
required: true
type: integer
+bytes_in_container_get:
+ description: |
+ The total number of bytes that are stored in
+ Object Storage for the container.
+ in: body
+ required: true
+ type: integer
content_type:
description: |
The content type of the object.
@@ -1161,11 +1168,17 @@ last_modified:
in: body
required: true
type: string
-name:
+name_in_account_get:
description: |
The name of the container.
in: body
required: true
type: string
+name_in_container_get:
+ description: |
+ The name of the object.
+ in: body
+ required: true
+ type: string
diff --git a/api-ref/source/storage-account-services.inc b/api-ref/source/storage-account-services.inc
index 30dcfafd6..9d36c5821 100644
--- a/api-ref/source/storage-account-services.inc
+++ b/api-ref/source/storage-account-services.inc
@@ -112,8 +112,8 @@ Response Parameters
- X-Account-Access-Control: X-Account-Access-Control_resp
- Content-Type: Content-Type_listing_resp
- count: count
- - bytes: bytes
- - name: name
+ - bytes: bytes_in_account_get
+ - name: name_in_account_get
Create, update, or delete account metadata
diff --git a/api-ref/source/storage-container-services.inc b/api-ref/source/storage-container-services.inc
index bb19d4f1e..e2efd771b 100644
--- a/api-ref/source/storage-container-services.inc
+++ b/api-ref/source/storage-container-services.inc
@@ -94,8 +94,8 @@ Response Parameters
- hash: hash
- last_modified: last_modified
- content_type: content_type
- - bytes: bytes
- - name: name
+ - bytes: bytes_in_container_get
+ - name: name_in_container_get
Response Example format=json