容器镜像服务 SWR-查询共享镜像列表:URI
URI
GET /v2/manage/shared-repositories
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
namespace |
否 |
String |
组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。 |
name |
否 |
String |
镜像仓库名称 |
center |
否 |
String |
self: 我共享的镜像。thirdparty: 他人共享给我的镜像 |
domain_name |
否 |
String |
拥有者账号名称 |
status |
否 |
String |
false:共享已过期。true:正常 |
limit |
否 |
String |
返回条数。注意:offset和limit参数需要配套使用。 |
offset |
否 |
String |
起始索引。注意:offset和limit参数需要配套使用。 |
order_column |
否 |
String |
按列排序,可设置为updated_at(按更新时间排序),name(名称)、tag_count(版本数)、namespace(组织)、domain_name(拥有者)。注意:order_column和order_type参数需要配套使用。 |
order_type |
否 |
String |
排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。 |
filter |
否 |
String |
应填写 center::{center}|name::{name}|limit::{limit}|offset::{offset}|namespace::{namespace}|order_column::{order_column}|order_type::{order_type} ,其中 {center}可选为self: 我共享的镜像。thirdparty: 他人共享给我的镜像,namespace为组织名称,name为镜像仓库名称, {limit}为返回条数,{offset}为起始索引,{order_column}为按列排序,updated_at(按更新时间排序),name(名称)、tag_count(版本数)、namespace(组织)、domain_name(拥有者),{order_type}为排序类型,可设置为desc(降序)、asc(升序) |