获取镜像仓库下的镜像-GetRepoImage
获取镜像仓库下的镜像
Request Parameters
Parameter name | Type | Description | Required |
ProjectId | string | 项目ID。不填写为默认项目,子帐号必须填写。 请参考GetProjectList接口 | No |
RepoName | string | 镜像仓库名称 | Yes |
Offset | int | 偏移量,默认0 | No |
Limit | int | 显示数量,默认为20 | No |
Response Elements
Parameter name | Type | Description | Required |
RetCode | int | 操作返回码 | Yes |
Action | string | 操作名称 | Yes |
TotalCount | int | 总数 | Yes |
ImageSet | array | 镜像列表 | Yes |
ImageSet
Parameter name | Type | Description | Required |
ImageName | string | 镜像名称 | Yes |
PullCount | int | 镜像被下载次数 | Yes |
CreateTime | strint | 创建时间 | Yes |
UpdateTime | string | 修改时间 | Yes |
LatestTag | string | 最新push的Tag | Yes |
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" }