功能介紹
該接口主要用于查詢 鏡像 成員列表視圖,通過視圖,用戶可以了解到鏡像成員包含哪些屬性,同時也可以了解每個屬性的數據類型。
調試
您可以在API Explorer中調試該接口。
URI
GET /v2/schemas/members
請求消息
請求參數
無
請求示例
查詢鏡像成員列表視圖。
GET https://{Endpoint}/v2/schemas/members
響應消息
- 響應參數
參數
參數類型
描述
name
String
視圖名稱。
links
Array of objects
視圖鏈接。
properties
Object
鏡像屬性說明,主要是對基礎屬性的說明,包含每個屬性的取值類型,用途。
具體參數說明可參考鏡像屬性。
- 響應樣例
STATUS CODE 200
{ "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" } } }