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
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
RepoNamespace | BODY | string | Yes | No sample value for this parameter. | namespace name |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RepoName | BODY | string | Yes | No sample value for this parameter. | warehouse name |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RepoType | string | Yes | warehouse properties, values: PRIVATE, PUBLIC |
Summary | string | Yes | summary information |
Detail | string | No | detailed 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
}
}