Response

Response Headers

Header

Type

Description

Accept-Ranges

String

(Required)

Type of ranges that the object accepts.

X-Container-Bytes-Used

Int

(Required)

Total number of bytes that are stored in OBS for the container.

X-Container-Object-Count

Int

(Required)

Number of objects in the container.

X-Container-Meta-name

String

(Optional)

Custom container metadata item, where {name} is the name of the metadata item.

Content-Length

String

(Required)

If the operation succeeds, the value is the length of the object list information.

If the operation fails, this value is the length of the error text in the response body.

Content-Type

String

(Required)

MIME type of the text in the response body.

Date

Datetime

(Required)

Transaction date and time.

X-Trans-Id

Uuid

(Required)

A unique transaction identifier.

X-Timestamp

Datetime

(Required)

The time when the container was created.

The format is a UNIX Epoch timestamp.

Response Body Parameters

If the response format is json or xml, object details are shown. Table 1 describes the response body parameters:

Table 1 Response body parameters

Parameter

Type

Description

name

String

An object name.

hash

String

MD5 checksum value of the object content.

bytes

Int

Total number of bytes that are stored in OBS for the object.

content_type

String

Content type of the object.

last_modified

Datetime

Date and time when the object was last modified.