Images

Creates, lists, shows, updates, deletes, and performs other operations on images

List images

get

Lists public virtual machine (VM) images with pagination and filtering support

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Query parameters
limitintegerOptional

Requests a page size of items

markerstringOptional

The ID of the last-seen item

namestringOptional

Filters the response by a name

ownerstringOptional

Filters the response by a project ID

protectedbooleanOptional

Filters the response by the 'protected' image property

statusstring · enumOptional

Filters the response by an image status

Possible values:
tagstringOptional

Filters the response by the specified tag value

visibilitystring · enumOptional

Filters the response by an image visibility value

Possible values:
os_hiddenbooleanOptional

When true, filters the response to include only hidden images

member_statusstring · enumOptional

Filters the response by a member status

Possible values:
size_maxstringOptional

Filters the response by a maximum image size, in bytes

size_minstringOptional

Filters the response by a minimum image size, in bytes

created_atstringOptional

Specify a comparison filter based on the date and time when the resource was created

updated_atstringOptional

Specify a comparison filter based on the date and time when the resource was most recently modified

sort_dirstring · enumOptional

Sorts the response by direction

Possible values:
sort_keystringOptional

Sorts the response by an attribute

sortstringOptional

Sorts the response by one or more attribute and sort direction combinations

Responses
200

Images retrieved successfully

application/json
get
/images

Create image

post

Creates a catalog record for an operating system disk image

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Body
idstring · uuidOptional

A unique, user-defined image UUID

namestringOptional

The name of the image

container_formatstring · enumOptional

Format of the image container

Possible values:
disk_formatstring · enumOptional

The format of the disk

Possible values:
min_diskintegerOptional

Amount of disk space in GB that is required to boot the image

min_ramintegerOptional

Amount of RAM in MB that is required to boot the image

protectedbooleanOptional

Image protection for deletion

tagsstring[]Optional

List of tags for this image

visibilitystring · enumOptional

Visibility for this image

Possible values:
Other propertiesstringOptional

Additional custom properties

Responses
post
/images

Show image details

get

Shows details for an image

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
image_idstring · uuidRequired

The UUID of the image

Responses
200

Image details retrieved successfully

application/json
get
/images/{image_id}

Delete image

delete

Deletes an image

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
image_idstring · uuidRequired

The UUID of the image

Responses
delete
/images/{image_id}

No content

Update image

patch

Updates an image using JSON Patch operations

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
image_idstring · uuidRequired

The UUID of the image

Bodyobject[]
opstring · enumRequired

The operation to perform

Possible values:
pathstringRequired

JSON pointer to the location in the target document

valueanyOptional

The value to use for the operation

Responses
200

Image updated successfully

application/json
patch
/images/{image_id}

Deactivate image

post

Deactivates an image (admin only)

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
image_idstring · uuidRequired

The UUID of the image

Responses
post
/images/{image_id}/actions/deactivate

No content

Reactivate image

post

Reactivates an image (admin only)

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
image_idstring · uuidRequired

The UUID of the image

Responses
post
/images/{image_id}/actions/reactivate

No content

Last updated

Was this helpful?