Queries the versions of a chart in a repository.


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 ListChartRelease

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

InstanceId String Yes cri-xkx6vujuhay0****

The ID of the Container Registry instance.

RegionId String Yes cn-shanghai

The ID of the region.

RepoName String Yes repo1

The name of the repository.

RepoNamespaceName String Yes ns1

The namespace to which the repository belongs.

PageNo Integer No 1

The number of the page to return.

PageSize Integer No 20

The number of entries to return on each page.

Chart String No null

The chart that you want to query.

Response parameters

Parameter Type Example Description
ChartReleases Array of ChartReleases

The list of chart versions.

Chart String chart1

The version name of the chart.

InstanceId String cri-xkx6vujuhay0****

The ID of the Container Registry instance.

ModifiedTime Long 1571930323000

The time when the chart was modified.

Release String 0.1.0

The version number of the chart.

RepoId String crcr-gpsu7b8chmxk****

The ID of the repository to which the chart belongs.

Size String 2826

The size of the chart.

Status String null

The status of the chart.

Code String success

The return value.

IsSuccess Boolean true

Indicates whether the operation is successful.

PageNo Integer 1

The page number of the returned page.

PageSize Integer 30

The number of entries returned on each page.

RequestId String F68823F6-F1B5-4A4E-8421-A83CAB8F2963

The ID of the request.

TotalCount String 1

The total number of returned entries.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "IsSuccess": true,
    "TotalCount": 1,
    "PageSize": 30,
    "RequestId": "F68823F6-F1B5-4A4E-8421-A83CAB8F2963",
    "ChartReleases": {
        "Status": "null",
        "ModifiedTime": 1571930323000,
        "InstanceId": "cri-xkx6vujuhay0****",
        "Size": 2826,
        "RepoId": "crcr-gpsu7b8chmxk****",
        "Release": "0.1.0",
        "Chart": "chart1"
    "PageNo": 1,
    "Code": "success"

Error codes

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