Queries the information of a chart repository.

Debugging

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 GetChartRepository

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

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

RepoName String Yes test

The name of the repository.

RepoNamespaceName String Yes test

The name of the namespace.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The code returned for the request.

RequestId String A3F6AB56-DEF4-4FF5-8DE4-680362C0E21F

The ID of the request.

InstanceId String cri-kmsiwlxxdcvaduwb

The ID of the instance.

RepoId String crcr-c7letfwev5oqjasd

The ID of the chart repository.

RepoNamespaceName String test

The namespace in which the chart repository is located.

RepoName String test

The name of the chart repository.

RepoStatus String NORMAL

The status of the chart repository. Valid values: NORMAL and DELETING.

RepoType String PUBLIC

The type of the repository. Valid values: PUBLIC and PRIVATE.

Summary String test

The summary about the chart repository.

CreateTime Long 1563767620000

The time when the chart repository was created.

ModifiedTime Long 1563767700000

The time when the chart repository was modified.

Examples

Sample requests

http(s)://[Endpoint]/? Action=GetChartRepository
&InstanceId=cri-kmsiwlxxdcvaduwb
&RegionId=cn-shanghai
&RepoName=test
&RepoNamespaceName=test
&<Common request parameters>

Sample success responses

JSON format

{
    "IsSuccess":true,
    "RepoNamespaceName":"test",
    "RequestId":"A3F6AB56-DEF4-4FF5-8DE4-680362C0E21F",
    "RepoStatus":"NORMAL",
    "CreateTime":1563767620000,
    "ModifiedTime":1563767700000,
    "RepoId":"crcr-c7letfwev5oqjasd",
    "RepoType":"PUBLIC",
    "InstanceId":"cri-kmsiwlxxdcvaduwb",
    "RepoName":"test",
    "Summary":"test",
    "RepoId":"crcr-24yjjf3yt7ucutqv",
    "Code":"success"
}

XML format

<IsSuccess>true</IsSuccess>
<RepoNamespaceName>test</RepoNamespaceName>
<RequestId>A3F6AB56-DEF4-4FF5-8DE4-680362C0E21F</RequestId>
<RepoStatus>NORMAL</RepoStatus>
<CreateTime>1563767620000</CreateTime>
<ModifiedTime>1563767700000</ModifiedTime>
<RepoId>crcr-24yjjf3yt7ucutqv</RepoId>
<RepoType>PUBLIC</RepoType>
<InstanceId>cri-kmsiwlxxdcvaduwb</InstanceId>
<RepoName>test</RepoName>
<Summary>test</Summary>
<Code>success</Code>

Error codes

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