镜像仓库列表

Method

GET

描述

获取镜像仓库列表,可以通过过滤字段过滤镜像列表

请求参数

参数名称说明参数类型是否必填备注
Limitstring
Offsetstring
Filters过滤条件,
Name String 镜像仓库名称,支持模糊查询(不支持通配符,直接用关键词即可) 否
Type String 访问权限,精确匹配 否
Tags int 版本数,精确匹配 否
Downloads int 下载数,精确匹配 否
Favorites int 被收藏数,精确匹配 否
Category String 自定义,收藏,全部(Favorite,Custom,All) 否
array
ActionDescribeRepositoriesstring
Version2018-03-08string

返回参数

参数名称说明参数类型是否必填备注
RepositoriesRepository列表array详细信息见下表
TotalCount总数integer
参数名称说明参数类型是否必填备注
RepositoryId镜像仓库Idlong
Name镜像仓库名称string
Type访问权限,公开/私有string
CiSupported是否支持持续集成boolean
Label镜像类型:应用服务器/Linux/数据库等string
Description基本描述string
Detail详细描述string
Tags镜像版本数integer
Downloads下载次数integer
Favorites被收藏次数integer
Status仓库状态:正常/异常string
CreateAt镜像仓库更新时间,ISO8601 (yyyy-MM-dd'T'HH:mm:ss'Z')string
UpdateAt镜像仓库更新时间,ISO8601 (yyyy-MM-dd'T'HH:mm:ss'Z')string
UserName用户昵称string
URL最新tag下载URLstring
CiAvailable持续集成是否失效,0:失效,1:有效integer
CiMessage失效原因string

状态码

错误码(Code)错误提示(Message)http status code说明
InvalidFormatThe format of the input parameter %s is illegal.400null
ResourceNotFound%s is not found.404null
MissingParameterThe required input parameter %s for processing this request is not supplied.400null

请求示例

GET https://open.cn-east-1.163yun.com/ccr?Version=2018-03-08&Action=DescribeRepositories&Name=create&Type=Private

返回示例

{
    "Repositories": [
        {
            "Category": "Custom",
            "CreateAt": "2017-11-01T12:29:43Z",
            "Downloads": 4,
            "Favorites": 0,
            "Name": "createtest",
            "UserName": "test1",
            "RepositoryId": 175,
            "Status": "Normal",
            "Tags": 2,
            "Type": "Private",
            "UpdateAt": "2018-03-07T02:58:49Z"
        },
        {
            "Category": "Custom",
            "CreateAt": "2017-11-01T13:38:19Z",
            "Downloads": 1,
            "Favorites": 0,
            "Name": "createtest/test",
            "UserName": "test1",
            "RepositoryId": 176,
            "Status": "Normal",
            "Tags": 1,
            "Type": "Private",
            "UpdateAt": "2017-11-01T13:40:55Z"
        }
    ],
    "TotalCount":96,
   "RequestId": "8a722cb1-a7f9-464b-8c2b-72ec8c19f3da"
}