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
This commit is contained in:
Kazuhiro MIYAHARA 2017-09-05 09:14:20 +00:00
parent 6da17e9923
commit 275da4c18e
3 changed files with 19 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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