收藏镜像仓库

Method

GET

描述

收藏镜像仓库

请求参数

参数名称说明参数类型是否必填备注
RepositoryId镜像仓库Idlong
Favorite收藏/取消收藏boolean
ActionUpdateFavoriteFlagstring
Version2018-03-08string

返回参数

无返回参数

状态码

错误码(Code)错误提示(Message)http status code说明
MissingParameterThe required input parameter %s for processing this request is not supplied.400参数 %s 缺失
ResourceNotFound%s is not found.404%s请求的资源不存在
ResourceBelongToYou%s already belongs to you.400%s已经属于你
OperationNotAllowedThis operation is not allowed.400操作不被允许

请求示例

GET https://open.cn-east-1.163yun.com/ccr?Version=2018-03-08&Action=UpdateFavoriteFlag&RepositoryId=19&Favorite=true

返回示例

{
    "RequestId": "8a722cb1-a7f9-464b-8c2b-72ec8c19f3da"
}