Queries chart versions of a repository.
Debugging
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-xkx6vujuhay0tasd |
The ID of the instance. |
RegionId | String | Yes | cn-shanghai |
The ID of the region where the instance resides. |
RepoName | String | Yes | repo1 |
The name of the repository. |
RepoNamespaceName | String | Yes | ns1 |
The name of 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 prefix of chart versions. |
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 | F68823F6-F1B5-4A4E-8421-A83CAB8F2963 |
The ID of the request. |
PageNo | Integer | 1 |
The page number of the returned page. |
PageSize | Integer | 30 |
The number of entries returned per page. |
TotalCount | String | 1 |
The total number of entries returned. |
ChartReleases | Array |
The chart versions of the repository. |
|
Chart | String | chart1 |
The version name of the chart. |
Release | String | 0.1.0 |
The version number of the chart. |
Status | String | null |
The status of the chart. |
Size | String | 2826 |
The size of the chart. |
InstanceId | String | cri-xkx6vujuhay0tasd |
The ID of the instance. |
RepoId | String | crcr-gpsu7b8chmxk2asd |
The ID of the chart repository. |
ModifiedTime | Long | 1571930323000 |
The time when the chart was modified. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ListChartRelease
&InstanceId=cri-xkx6vujuhay0tasd
&RegionId=cn-shanghai
&RepoName=repo1
&RepoNamespaceName=ns1
&<Common request parameters>
Sample success responses
JSON
format
{
"IsSuccess":true,
"TotalCount":1,
"PageSize":30,
"RequestId":"F68823F6-F1B5-4A4E-8421-A83CAB8F2963",
"ChartReleases": [
{
"ModifiedTime":1571930323000,
"InstanceId":"cri-xkx6vujuhay0tasd",
"Size":"2826",
"RepoId":"crcr-gpsu7b8chmxk2asd",
"Release":"0.1.0",
"Chart":"chart1"
}
],
"PageNo":1,
"Code":"success"
}
XML
format
<IsSuccess>true</IsSuccess>
<TotalCount>1</TotalCount>
<PageSize>30</PageSize>
<RequestId>F68823F6-F1B5-4A4E-8421-A83CAB8F2963</RequestId>
<ChartReleases>
<ModifiedTime>1571930323000</ModifiedTime>
<InstanceId>cri-xkx6vujuhay0tasd</InstanceId>
<Size>2826</Size>
<RepoId>crcr-gpsu7b8chmxk2asd</RepoId>
<Release>0.1.0</Release>
<Chart>chart1</Chart>
</ChartReleases>
<PageNo>1</PageNo>
<Code>success</Code>
Error codes
For a list of error codes, visit the API Error Center.