镜像仓库详情

Method

GET

描述

获取镜像仓库详情

请求参数

参数名称说明参数类型是否必填备注
RepositoryId镜像仓库Idlong
ActionDescribeRepositorystring
Version2018-03-08string

返回参数

参数名称说明参数类型是否必填备注
Repositoryobject详细信息见下表
RequestIdstring
参数名称说明参数类型是否必填备注
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说明
ResourceNotFound%s is not found.404null
ForbiddenYou have no right to access.403null

请求示例

GET https://open.cn-east-1.163yun.com/ccr?Version=2018-03-08&Action=DescribeRepository&RepositoryId=211

返回示例

{
    "Repository": {
        "CiAvailable": 1,
        "CiSupported": false,
        "CreateAt": "2018-04-23T07:12:09Z",
        "Description": "",
        "Detail": "",
        "Downloads": 2571,
        "Favorites": 1,
        "Label": "Other",
        "Name": "test-agent",
        "RepositoryId": 211,
        "Status": "Normal",
        "Tags": 23,
        "Type": "Public",
        "URL": "hub.c.163.com/test1/test-agent:yanlian-1d5d8dd7b1fa9f908b1d4c00a5eee59f06aad708",
        "UpdateAt": "2018-08-28T20:27:45Z",
        "UserName": "test1"
    },
    "RequestId": "8a722cb1-a7f9-464b-8c2b-72ec8c19f3dad"
}