• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (Swift)
  4. Operations on Accounts
  5. Show Account Metadata
  6. Request

Request

Method

Table 1 Method description

Method

URI

Description

HEAD

/v1/{account}

Shows metadata of a specified account.

{account} indicates the name of an account. Metadata of an account includes the number of containers, number of objects, and total number of bytes that are stored in OBS for the account.

This operation does not involve a request body.

Example Request

curl -i $publicURL -X HEAD -H "X-Auth-Token:$token"

Request Query Parameters

This operation does not include request query parameters.

Request Headers

Request URI parameters

Parameter

Type

Description

{account}

String

(Required)

Unique name of the account. In the current version, it indicates the unique ID of the account.

Request header parameters

Parameter

Type

Description

X-Auth-Token

String

(Required)

Authentication token.