• Native OpenStack API

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

Show Image Member Schema

Function Description

This interface is used to obtain the image member schema.

Interface Format

Method

URI

Description

GET

/v2/schemas/member

Obtains the image member schema.

Restriction

N/A

Expanded Interface

N/A

Request Parameter

N/A

Response Parameter

Parameter

Type

Mandatory

Description

name

String

Yes

Specifies the schema name.

properties

Dict

Yes

Specifies the schema properties.

Request Example

GET /v2/schemas/member

Response Example

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

Error Code

N/A