Skip to main content

UpdateRepo

Description

call the UpdateRepo to update the basic information of the warehouse, including warehouse nature, summary information and description information.

Request Method

POST

Request Path

/apsara/route/cr/UpdateRepo

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
RepoNamespaceBODYstringYesNo sample value for this parameter.namespace name
regionIdBODYstringYesNo sample value for this parameter.region id
RepoNameBODYstringYesNo sample value for this parameter.warehouse name
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RepoTypestringYeswarehouse properties, values: PRIVATE, PUBLIC
SummarystringYessummary information
DetailstringNodetailed description information, support Markdown syntax

Example

Successful Response example

{
"RepoType":"Yes",
"Summary":"Yes",
"Detail":"No"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}