获取镜像仓库下的镜像-GetRepoImage

获取镜像仓库下的镜像

Request Parameters

Parameter nameTypeDescriptionRequired
ProjectIdstring项目ID。不填写为默认项目,子帐号必须填写。 请参考GetProjectList接口No
RepoNamestring镜像仓库名称Yes
Offsetint偏移量,默认0No
Limitint显示数量,默认为20No

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
TotalCountint总数Yes
ImageSetarray镜像列表Yes

ImageSet

Parameter nameTypeDescriptionRequired
ImageNamestring镜像名称Yes
PullCountint镜像被下载次数Yes
CreateTimestrint创建时间Yes
UpdateTimestring修改时间Yes
LatestTagstring最新push的TagYes

Request Example

https://api.ucloud.cn/?Action=GetRepoImage
&ProjectId=bbrEuvfC
&RepoName=idkTdEFo
&Offset=6
&Limit=6

Response Example

{
    "TotalCount": 5,
    "ImageSet": [
        {
            "ImageName": "dCVBnkxg",
            "PullCount": 4,
            "CreateTime": 5,
            "UpdateTime": 7,
            "LatestTag": "iBvvYGkW"
        },
        {
            "ImageName": "HxZkUXvp",
            "PullCount": 2,
            "CreateTime": 2,
            "UpdateTime": 2,
            "LatestTag": "KNyBVrNA"
        },
        {
            "ImageName": "qCHiVQXX",
            "PullCount": 6,
            "CreateTime": 2,
            "UpdateTime": 6,
            "LatestTag": "dnvIjkJY"
        },
        {
            "ImageName": "lJszSnED",
            "PullCount": 1,
            "CreateTime": 9,
            "UpdateTime": 8,
            "LatestTag": "wGBJBifW"
        },
        {
            "ImageName": "BfChDnxj",
            "PullCount": 9,
            "CreateTime": 7,
            "UpdateTime": 1,
            "LatestTag": "CdySnxrY"
        },
        {
            "ImageName": "HUTQywVu",
            "PullCount": 1,
            "CreateTime": 9,
            "UpdateTime": 9,
            "LatestTag": "zqXMWiRd"
        },
        {
            "ImageName": "QfwwaABh",
            "PullCount": 7,
            "CreateTime": 8,
            "UpdateTime": 9,
            "LatestTag": "EymhuHfx"
        },
        {
            "ImageName": "ThYJXrVc",
            "PullCount": 4,
            "CreateTime": 5,
            "UpdateTime": 2,
            "LatestTag": "dnXrJOti"
        },
        {
            "ImageName": "qzCGPhQD",
            "PullCount": 6,
            "CreateTime": 2,
            "UpdateTime": 3,
            "LatestTag": "MCnyUuwU"
        }
    ],
    "RetCode": 0,
    "Action": "GetRepoImageResponse"
}