• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Glance
  5. Image Schemas
  6. Show Image Members Schema

Show Image Members Schema

Function Description

This interface is used to obtain the image member schema.

Interface Format

Method

URI

Description

GET

/v2/schemas/members

Obtains the image member schema.

Restrictions

N/A

Expanded Interface

N/A

Request Parameter

N/A

Response Parameter

Parameter

Type

Mandatory

Description

name

String

Yes

Specifies the schema name.

links

List(Dict)

Yes

Specifies the URL for the schema.

properties

Dict

Yes

Specifies the schema attributes.

Request Example

GET /v2/schemas/members

Response Example

{
   "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"
        }
    }
}

Error Code

N/A