查询ksyun公有镜像仓库列表

最近更新时间:2020-10-21 15:38:58

DescribeRepository(查询ksyun公有镜像仓库列表)

接口描述

此接口适用于查询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"
    }
  ]
}

金山云,开启您的云计算之旅

免费注册