Updates the information of a repository in an instance.


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 UpdateRepository

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

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

RepoId String Yes crr-tquyps22md8purzx

The ID of the repository.

RepoType String Yes PUBLIC

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

Summary String No test repo

The summary of the repository.

Detail String No repo-for-test

The description of 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 CC43EC6B-0DD4-40AE-8811-B0519617051A

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=UpdateRepository
&Summary="test repo"
&<Common request parameters>

Sample success responses

JSON format


XML format


Error codes

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