ユーザーガイド/リファレンスガイド

イメージメンバーのスキーマ情報取得

Description

イメージメンバーのスキーマ情報を取得します。

Request URL

Image API v2

GET /v2/schemas/members

Request Json

This operation does not accept a request body.

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID

Response

Normal response codes

200

Example

Request

curl -i -X GET \
-H “Accept: application/json” \
-H “X-Auth-Token: トークンID” \
https://image-service.odc01.eva-clouds.com/v2/schemas/member

Response

HTTP/1.1 200 OK
Date: Fri, 08 Jul 2016 09:13:07 GMT
Server: Apache
Content-Length: 660
Content-Type: application/json

{
    “name”: “member”,
    “properties”: {
        “created_at”: {
            “description”: “Date and time of image member creation”,
            “type”: “string”
        },
        “image_id”: {
            “description”: “An identifier for the image”,
            “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”
        },
        “member_id”: {
            “description”: “An identifier for the image member (tenantId)”,
            “type”: “string”
        },
        “schema”: {
            “type”: “string”
        },
        “status”: {
            “description”: “The status of this image member”,
            “enum”: [
                “pending”,
                “accepted”,
                “rejected”
            ],
            “type”: “string”
        },
        “updated_at”: {
            “description”: “Date and time of last modification of image member”,
            “type”: “string”
        }
    }
}