最近更新时间:2021-03-22 16:31:48
此接口适用于查询Ksyun用户公开的镜像仓库列表。
GET/POST
参数 | 类型 | 是否必选 | 描述 |
---|---|---|---|
RepoName.N | String | 否 | 镜像仓库名称 |
MaxResults | Integer | 否 | 单次调用所返回的最大实例数目,默认20,最大99。 |
Marker | Integer | 否 | 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0。 |
Filter.N | Filter.N数据类型 | 否 | 一个或者多个过滤器,有效值: - namespace |
参数 | 类型 | 描述 |
---|---|---|
RequestId | String | 任务请求id |
MaxResults | Integer | 单词调用返回的最大实例数 |
Marker | Integer | 分页标识,如果调用未返回全部实例,标记下次调用的返回值的起点,如果已返回全部实例,则其值为0。 |
TotalCount | Integer | 返回的仓库数目 |
RepoSet | RepoSet数据类型 | 镜像仓库信息 |
查询ksyun公开的镜像仓库列表
http://kce.api.ksyun.com/?Action=DescribePublicRepository&Version=2018-03-14&Marker=0&MaxResults=10
{
"RequestId": "437636a6-d1a5-401b-a350-75a3dd33442d",
"Marker": 10,
"MaxResults": 10,
"TotalCount": 155,
"RepoSet": [
{
"RepoName": "ksyun/pusher-arm64",
"Public": true,
"FavorCount": 0,
"PullCount": 1,
"Description": "",
"CreateTime": "2019-09-03 01:12:47"
},
{
"RepoName": "ksyun/pusher-amd64",
"Public": true,
"FavorCount": 0,
"PullCount": 3,
"Description": "",
"CreateTime": "2019-09-03 01:09:53"
},
{
"RepoName": "ksyun/gitdemo",
"Public": true,
"FavorCount": 0,
"PullCount": 1,
"Description": "",
"CreateTime": "2019-08-29 05:01:59"
},
{
"RepoName": "ksyun/myapp",
"Public": true,
"FavorCount": 0,
"PullCount": 0,
"Description": "",
"CreateTime": "2019-08-28 22:58:18"
},
{
"RepoName": "ksyun/fluentd-watcher",
"Public": true,
"FavorCount": 0,
"PullCount": 56,
"Description": "",
"CreateTime": "2019-08-28 01:53:42"
},
{
"RepoName": "ksyun/user-service",
"Public": true,
"FavorCount": 0,
"PullCount": 29,
"Description": "",
"CreateTime": "2019-08-25 03:24:53"
},
{
"RepoName": "ksyun/inventory-service",
"Public": true,
"FavorCount": 0,
"PullCount": 19,
"Description": "",
"CreateTime": "2019-08-25 03:24:16"
},
{
"RepoName": "ksyun/discovery-service",
"Public": true,
"FavorCount": 0,
"PullCount": 10,
"Description": "",
"CreateTime": "2019-08-25 03:23:48"
},
{
"RepoName": "ksyun/config-service",
"Public": true,
"FavorCount": 0,
"PullCount": 10,
"Description": "",
"CreateTime": "2019-08-25 03:23:39"
},
{
"RepoName": "ksyun/catalog-service",
"Public": true,
"FavorCount": 0,
"PullCount": 20,
"Description": "",
"CreateTime": "2019-08-25 03:23:32"
}
]
}
纯净模式