功能介紹
該接口主要用于查詢(xún) 鏡像 成員列表視圖,通過(guò)視圖,用戶(hù)可以了解到鏡像成員包含哪些屬性,同時(shí)也可以了解每個(gè)屬性的數(shù)據(jù)類(lèi)型。
調(diào)試
您可以在A(yíng)PI Explorer中調(diào)試該接口。
URI
GET /v2/schemas/members
請(qǐng)求消息
請(qǐng)求參數(shù)
無(wú)
請(qǐng)求示例
查詢(xún)鏡像成員列表視圖。
GET https://{Endpoint}/v2/schemas/members
響應(yīng)消息
- 響應(yīng)參數(shù)
參數(shù)
參數(shù)類(lèi)型
描述
name
String
視圖名稱(chēng)。
links
Array of objects
視圖鏈接。
properties
Object
鏡像屬性說(shuō)明,主要是對(duì)基礎(chǔ)屬性的說(shuō)明,包含每個(gè)屬性的取值類(lèi)型,用途。
具體參數(shù)說(shuō)明可參考鏡像屬性。
- 響應(yīng)樣例
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" } } }
