• Native OpenStack API

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

List Image Members

Function Description

This interface is used to query shared image members.

Interface Format

Method

URI

Description

GET

/v2/images/{image_id}/members

Queries shared image members.

Restrictions

N/A

Expanded Interface

N/A

Request Parameter

N/A

Response Parameter

Parameter

Type

Mandatory

Description

members

List(dict)

Yes

Specifies shared image members.

schema

String

Yes

Specifies the URL for the view of the shared image member.

members parameter information

Parameter

Type

Mandatory

Description

status

String

Yes

Specifies the status of the shared image member.

Values can be:

  • pending
  • accepted
  • rejected

created_at

String

Yes

Specifies the time when the shared image member was created.

updated_at

String

Yes

Specifies the time when the shared image member was updated.

image_id

String

Yes

Specifies the ID of an image to be shared.

member_id

String

Yes

Specifies the ID of the shared image member.

schema

String

Yes

Specifies the URL for the view of the shared image member.

Request Example

GET  /v2/images/d164b5df-1bc3-4c3f-893e-3e471fd16e64/members

Response Example

{
  "members": [
    {
      "status": "accepted",
      "created_at": "2016-09-01T02:05:14Z",
      "updated_at": "2016-09-01T02:37:11Z",
      "image_id": "d164b5df-1bc3-4c3f-893e-3e471fd16e64",
      "member_id": "edc89b490d7d4392898e19b2deb34797",
      "schema": "/v2/schemas/member"
    }
  ],
  "schema": "/v2/schemas/members"

}