Updates the information of a repository in an instance.

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 UpdateChartRepository

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

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 to which the repository belongs.

RepoType String Yes PUBLIC

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

Summary String No test

The summary about the repository.

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 EB9C5722-51E2-4497-A573-575B0CA5CE0C

The ID of the request.

Examples

Sample requests

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

Sample success responses

JSON format

{
    "IsSuccess":true,
    "RequestId":"EB9C5722-51E2-4497-A573-575B0CA5CE0C",
    "Code":"success"
}

XML format

<IsSuccess>true</IsSuccess>
<RequestId>EB9C5722-51E2-4497-A573-575B0CA5CE0C</RequestId>
<Code>success</Code>

Error codes

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