List image member
GET /v2/images/<IMAGE_ID>/members
Normal response codes: 200
If a user with whom this image is shared makes this call, the member list contains only information for that user.
If a user with whom this image has not been shared makes this call, the call returns the HTTP 404 status code.
Preconditions
- The specified image must exist.
- You must be the owner or a member of the specified image.
Request
This table shows the URI parameters for the list image member request:
Name | Type | Description |
---|---|---|
image_id | uuid | Image ID stored through the image API. Typically a UUID. |
This operation does not accept a request body.
Response
{
"members": [
{
"created_at": "2013-10-07T17:58:03Z",
"image_id": "dbc999e3-c52f-4200-bedd-3b18fe7f87fe",
"member_id": "123456789",
"schema": "/v2/schemas/member",
"status": "pending",
"updated_at": "2013-10-07T17:58:03Z"
},
{
"created_at": "2013-10-07T17:58:55Z",
"image_id": "dbc999e3-c52f-4200-bedd-3b18fe7f87fe",
"member_id": "987654321",
"schema": "/v2/schemas/member",
"status": "accepted",
"updated_at": "2013-10-08T12:08:55Z"
}
],
"schema": "/v2/schemas/members"
}