List Images

Description

Use this request to obtain a list of the existing server images.

Syntax

GET baseURL/image

Request Parameters

None

Response

Element

Attribute

Description

image-list

 

Container for image list.

image-info

 

Container for image information. This element may appear more than once (one for each image).

 

name

Image name.

Type: string

 

size

Image size, in gigabytes.

Type: int

 

created

Image creation date.

Type: string

 

subscription-id

Subscription ID to which this image belongs.

Type: int

 

image-of

The name of the server from which this image was created.

Type: string

Example

Request

GET https://c2u-web:4465/paci/v1.0/image

Response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<image-list>
    <image-info image-of="Web60" subscription-id="100001" created="2013-09-01 19:19:17.84091+04" size="2" name="lbimage"/>
</image-list>