Updated on 2026-09-23 GMT+08:00

Querying the Tenant Resource Overview

Function

Query the tenant resource overview.

Constraints

None

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    swr::getDomainOverview

    Read

    -

    -

    -

    -

URI

GET /v2/manage/overview

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Message body type (format). The value can be:

application/json;charset=utf-8

application/json

X-Auth-Token

Yes

String

User token.

You can obtain it by calling the IAM API for obtaining a user token. The token is the value of X-Subject-Token in the response header.

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

domain_id

String

Tenant ID.

domain_name

String

Tenant name.

namspace_num

Long

Number of namespaces of the tenant.

repo_num

Long

Number of repositories of the tenant.

image_num

Long

Number of images of the tenant.

store_space

Double

Storage size of the tenant.

downflow_size

Double

Download traffic of the tenant.

Example Requests

GET https://{endpoint}/v2/manage/overview

Example Responses

Status code: 200

{
  "domain_id" : "08d353ac5800d23a0f49c019fd113760",
  "domain_name" : "",
  "namspace_num" : 36,
  "repo_num" : 20,
  "image_num" : 36,
  "store_space" : 99.21,
  "downflow_size" : 0
}

Status Codes

Status Code

Description

200

The tenant resource overview has been queried.

400

Request error.

401

Authorization failed.

500

Internal error.

Error Codes

See Error Codes.