Images
Creates, lists, shows, updates, deletes, and performs other operations on images
Lists public virtual machine (VM) images with pagination and filtering support
OpenStack Keystone authentication token
Requests a page size of items
The ID of the last-seen item
Filters the response by a name
Filters the response by a project ID
Filters the response by the 'protected' image property
Filters the response by an image status
Filters the response by the specified tag value
Filters the response by an image visibility value
When true, filters the response to include only hidden images
Filters the response by a member status
Filters the response by a maximum image size, in bytes
Filters the response by a minimum image size, in bytes
Specify a comparison filter based on the date and time when the resource was created
Specify a comparison filter based on the date and time when the resource was most recently modified
Sorts the response by direction
Sorts the response by an attribute
Sorts the response by one or more attribute and sort direction combinations
Images retrieved successfully
Bad Request
Unauthorized
Forbidden
GET /v2/images HTTP/1.1
Host: image.example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
"images": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"status": "queued",
"visibility": "public",
"protected": true,
"tags": [
"text"
],
"container_format": "ami",
"disk_format": "ami",
"min_disk": 1,
"min_ram": 1,
"size": 1,
"virtual_size": 1,
"checksum": "text",
"os_hash_algo": "text",
"os_hash_value": "text",
"os_hidden": true,
"owner": "text",
"created_at": "2025-11-28T20:26:41.373Z",
"updated_at": "2025-11-28T20:26:41.373Z",
"self": "https://example.com",
"file": "https://example.com",
"schema": "https://example.com",
"direct_url": "https://example.com",
"locations": [
{
"url": "https://example.com",
"metadata": {}
}
],
"ANY_ADDITIONAL_PROPERTY": "text"
}
],
"first": "https://example.com",
"next": "https://example.com",
"schema": "https://example.com"
}Creates a catalog record for an operating system disk image
OpenStack Keystone authentication token
A unique, user-defined image UUID
The name of the image
Format of the image container
The format of the disk
Amount of disk space in GB that is required to boot the image
Amount of RAM in MB that is required to boot the image
Image protection for deletion
List of tags for this image
Visibility for this image
Additional custom properties
Image created successfully
Bad Request
Unauthorized
Forbidden
Conflict
Payload Too Large
Unsupported Media Type
POST /v2/images HTTP/1.1
Host: image.example.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"container_format": "bare",
"disk_format": "raw",
"name": "Ubuntu",
"id": "b2173dd3-7ad6-4362-baa6-a68bce3565cb"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"status": "queued",
"visibility": "public",
"protected": true,
"tags": [
"text"
],
"container_format": "ami",
"disk_format": "ami",
"min_disk": 1,
"min_ram": 1,
"size": 1,
"virtual_size": 1,
"checksum": "text",
"os_hash_algo": "text",
"os_hash_value": "text",
"os_hidden": true,
"owner": "text",
"created_at": "2025-11-28T20:26:41.373Z",
"updated_at": "2025-11-28T20:26:41.373Z",
"self": "https://example.com",
"file": "https://example.com",
"schema": "https://example.com",
"direct_url": "https://example.com",
"locations": [
{
"url": "https://example.com",
"metadata": {}
}
],
"ANY_ADDITIONAL_PROPERTY": "text"
}Shows details for an image
OpenStack Keystone authentication token
The UUID of the image
Image details retrieved successfully
Bad Request
Unauthorized
Forbidden
Not Found
GET /v2/images/{image_id} HTTP/1.1
Host: image.example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"status": "queued",
"visibility": "public",
"protected": true,
"tags": [
"text"
],
"container_format": "ami",
"disk_format": "ami",
"min_disk": 1,
"min_ram": 1,
"size": 1,
"virtual_size": 1,
"checksum": "text",
"os_hash_algo": "text",
"os_hash_value": "text",
"os_hidden": true,
"owner": "text",
"created_at": "2025-11-28T20:26:41.373Z",
"updated_at": "2025-11-28T20:26:41.373Z",
"self": "https://example.com",
"file": "https://example.com",
"schema": "https://example.com",
"direct_url": "https://example.com",
"locations": [
{
"url": "https://example.com",
"metadata": {}
}
],
"ANY_ADDITIONAL_PROPERTY": "text"
}Deletes an image
OpenStack Keystone authentication token
The UUID of the image
Image deleted successfully
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
DELETE /v2/images/{image_id} HTTP/1.1
Host: image.example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
No content
Updates an image using JSON Patch operations
OpenStack Keystone authentication token
The UUID of the image
The operation to perform
JSON pointer to the location in the target document
The value to use for the operation
Image updated successfully
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Payload Too Large
Unsupported Media Type
PATCH /v2/images/{image_id} HTTP/1.1
Host: image.example.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/openstack-images-v2.1-json-patch
Accept: */*
Content-Length: 112
[
{
"op": "replace",
"path": "/name",
"value": "Fedora 17"
},
{
"op": "replace",
"path": "/tags",
"value": [
"fedora",
"beefy"
]
}
]{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"status": "queued",
"visibility": "public",
"protected": true,
"tags": [
"text"
],
"container_format": "ami",
"disk_format": "ami",
"min_disk": 1,
"min_ram": 1,
"size": 1,
"virtual_size": 1,
"checksum": "text",
"os_hash_algo": "text",
"os_hash_value": "text",
"os_hidden": true,
"owner": "text",
"created_at": "2025-11-28T20:26:41.373Z",
"updated_at": "2025-11-28T20:26:41.373Z",
"self": "https://example.com",
"file": "https://example.com",
"schema": "https://example.com",
"direct_url": "https://example.com",
"locations": [
{
"url": "https://example.com",
"metadata": {}
}
],
"ANY_ADDITIONAL_PROPERTY": "text"
}Deactivates an image (admin only)
OpenStack Keystone authentication token
The UUID of the image
Image deactivated successfully
Bad Request
Forbidden
Not Found
POST /v2/images/{image_id}/actions/deactivate HTTP/1.1
Host: image.example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
No content
Reactivates an image (admin only)
OpenStack Keystone authentication token
The UUID of the image
Image reactivated successfully
Bad Request
Forbidden
Not Found
POST /v2/images/{image_id}/actions/reactivate HTTP/1.1
Host: image.example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?
