Description

Show image members schema.

Request URL

Image API v2

GET /v2/schemas/members

Request Paramters

Parameter Value Style Description
X-Auth-Token User Token header

Request Json

This operation does not accept a request body.

Normal response codes

200 OK

Example

curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://image-service.tyo1.cloud.z.com/v2/schemas/members
HTTP/1.1 200 OK
Date: Tue, 13 Jan 2015 06:30:55 GMT
Server: Apache
Content-Length: 770
Content-Type: application/json

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