From 275da4c18eb47e5e9f7e4f289497aa63292bc9d8 Mon Sep 17 00:00:00 2001 From: Kazuhiro MIYAHARA Date: Tue, 5 Sep 2017 09:14:20 +0000 Subject: [PATCH] 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 --- api-ref/source/parameters.yaml | 17 +++++++++++++++-- api-ref/source/storage-account-services.inc | 4 ++-- api-ref/source/storage-container-services.inc | 4 ++-- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index c10b678397..c8dc8ae7d5 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 30dcfafd68..9d36c5821d 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 bb19d4f1ec..e2efd771b6 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