Queries namespaces created in an instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListChartNamespace

The operation that you want to perform. Set the value to ListChartNamespace.

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

NamespaceStatus String No NORMAL

The namespace status. Valid values: NORMAL and DELETING.

NamespaceName String No test

The name of the chart namespace.

PageNo Integer No 1

The number of the page to return.

PageSize Integer No 30

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The return value.

RequestId String F56D589D-AF7F-4900-BA46-62C780AC2C10

The ID of the request.

PageNo Integer 1

The number of the returned page.

PageSize Integer 30

The number of entries returned on each page.

TotalCount String 1

The total number of returned entries.

Namespaces Array N/A

The chart namespaces.

NamespaceName String test

The name of the chart namespace.

NamespaceStatus String NORMAL

The status of the chart namespace.

AutoCreateRepo Boolean true

Indicates whether a repository is automatically created when an image is pushed to the chart namespace.

DefaultRepoType String PUBLIC

The default type of the repository created in the chart namespace. Valid values: PUBLIC and PRIVATE.

InstanceId String cri-kmsiwlxxdcvaduwb

The ID of the instance.

NamespaceId String null

The ID of the chart namespace.


Sample requests

http(s)://[Endpoint]/? Action=ListChartNamespace
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.