検討中のお客様はこちら

0120-50-6065

10:00〜19:00
土日祝、年末年始除く

お申し込み

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

Description

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

Request URL

Image API v2

GET /v2/schemas/member

Request Json

This operation does not accept a request body.

Request Parameters

Parameter Value Style Description
X-Auth-Token Userトークン header トークン発行 にて払い出されたID

Response s

  • Normal response codes
200

Example

  • Request
curl -i -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Auth-Token: トークンID" \
https://image-service.gpu-sys.cloud/v2/schemas/member
  • Response
HTTP/1.1 200 OK
Date: Sun, 30 Aug 2020 15:57:50 GMT
Server: Apache
Content-Length: 660
Content-Type: application/json

{
  "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": {
      "type": "string"
    }
  }
}