更新时间:2024-03-01 GMT+08:00
查询镜像成员列表视图(OpenStack原生)
功能介绍
该接口主要用于查询镜像成员列表视图,通过视图,用户可以了解到镜像成员包含哪些属性,同时也可以了解每个属性的数据类型。
URI
GET /v2/schemas/members
请求消息
请求参数
无
请求示例
查询镜像成员列表视图。
GET https://{Endpoint}/v2/schemas/members
响应消息
- 响应参数
- 响应样例
STATUS CODE 200
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
{ "name": "members", "links": [ { "href": "{schema}", "rel": "describedby" } ], "properties": { "members": { "items": { "name": "member", "properties": { "status": { "enum": [ "pending", "accepted", "rejected" ], "type": "string", "description": "The status of this image member" }, "created_at": { "type": "string", "description": "Date and time of image member creation" }, "updated_at": { "type": "string", "description": "Date and time of last modification of image member" }, "image_id": { "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": "string", "description": "An identifier for the image" }, "member_id": { "type": "string", "description": "An identifier for the image member (tenantId)" }, "schema": { "readOnly": true, "type": "string" } } }, "type": "array" }, "schema": { "type": "string" } } }
父主题: 镜像视图(OpenStack原生)