Queries a chart namespace 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
InstanceId String Yes cri-xkx6vujuhay0tasd

The ID of the instance.

NamespaceName String Yes ns1

The name of the chart namespace.

RegionId String Yes cn-shanghai

The ID of the region.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the request is successful.

Code String success

The code returned for the request.

RequestId String CD71CF13-93AA-4805-848B-69B2DD543A9A

The ID of the request.

NamespaceName String ns1

The name of the chart namespace.

NamespaceStatus String NORMAL

The status of the namespace. Valid values: NORMAL and DELETING.

AutoCreateRepo Boolean true

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

DefaultRepoType String PRIVATE

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

InstanceId String cri-xkx6vujuhay0tasd

The ID of the instance.

NamespaceId String crcn-43dhbjbyt2xltfaa

The ID of the chart namespace.


Sample requests

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

Sample success responses

XML format


JSON format


Error codes

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