Queries the repository information of a chart.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:GetRepository |
get |
*ChartRepository
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
cri-kmsiwlxxdcva**** |
| RepoNamespaceName |
string |
Yes |
The namespace name. |
test |
| RepoName |
string |
Yes |
The repository name. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Summary |
string |
The chart repository summary. |
test |
| CreateTime |
integer |
The time when the chart repository was created. The value is a UNIX timestamp in milliseconds. |
1563767620000 |
| IsSuccess |
boolean |
Indicates whether the API call is successful. Valid values:
|
true |
| InstanceId |
string |
The instance ID. |
cri-kmsiwlxxdcva**** |
| RepoStatus |
string |
The status of the chart repository. Valid values:
|
NORMAL |
| RepoType |
string |
The type of the chart repository. Valid values:
|
PUBLIC |
| RequestId |
string |
The request ID. |
A3F6AB56-DEF4-4FF5-8DE4-680362C0E21F |
| RepoId |
string |
The chart repository ID. |
crcr-c7letfwev5oq**** |
| ModifiedTime |
integer |
The time when the chart repository was last modified. The value is a UNIX timestamp in milliseconds. |
1563767700000 |
| Code |
string |
The return code. |
success |
| RepoNamespaceName |
string |
The namespace to which the chart repository belongs. |
test |
| RepoName |
string |
The chart repository name. |
test |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmv36i4is**** |
Examples
Success response
JSON format
{
"Summary": "test",
"CreateTime": 1563767620000,
"IsSuccess": true,
"InstanceId": "cri-kmsiwlxxdcva****",
"RepoStatus": "NORMAL",
"RepoType": "PUBLIC",
"RequestId": "A3F6AB56-DEF4-4FF5-8DE4-680362C0E21F",
"RepoId": "crcr-c7letfwev5oq****",
"ModifiedTime": 1563767700000,
"Code": "success",
"RepoNamespaceName": "test",
"RepoName": "test",
"ResourceGroupId": "rg-acfmv36i4is****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | SystemError | Unknown error. | |
| 403 | NoPrivilege | Access denied for this user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.