更新镜像仓库

Method

POST

描述

更新镜像仓库

请求参数

参数名称说明参数类型是否必填备注
ActionUpdateRepositorystring
Version2018-03-08string
参数名称说明参数类型是否必填备注
TypePublic/Privatestring
Description基本描述string
Label镜像类型,取值范围见创建string
RepositoryId镜像仓库Idlong
Detail详细描述string

返回参数

参数名称说明参数类型是否必填备注
RequestIdstring

状态码

错误码(Code)错误提示(Message)http status code说明
ParameterMissingThe required input parameter %s for processing this request is not supplied.400参数 %s 缺失
RepoNotFound%s is not found.404%s请求的资源不存在
ForbiddenYou have no right to access.403无权访问
OutOfLengthLimit%s is out of length limit.400%s超过长度限制

请求示例

POST https://open.cn-east-1.163yun.com/ccr?Version=2018-03-08&Action=UpdateRepository
{
	"Type":"Public",
    "Description":"a repo for public usage",
    "Label":"app",
    "RepositoryId":209,
    "Detail":"this is an image that based of Alpine. and this is used for rsync...."
}

返回示例

{
    "RequestId": "9b5af368-fee2-4adb-ad29-6db7c39e4afa"
}