List Images
Returns available images that can be used to create compute instances.
Endpoint
GET /cloud/v1/image/images/listExample
curl https://api.redu.cloud/cloud/v1/image/images/list \
-H "x-api-key: YOUR_API_KEY"Successful Response
[
{
"id": "54f06e50-0459-4699-b0d5-be8df4c220a4",
"name": "ubuntu24.04",
"visibility": "public",
"project_id": "b5573a78fd324f9f93c82ef25a85151b",
"metadata": {
"base_image_name": null,
"image_type": null,
"original_instance_id": null
}
},
{
"id": "3f43f343-8d4f-42da-9fa6-f77367aa2725",
"name": "cirros",
"visibility": "public",
"project_id": "b5573a78fd324f9f93c82ef25a85151b",
"metadata": {
"base_image_name": null,
"image_type": null,
"original_instance_id": null
}
}
]Response Schema
Image
| Field | Type | Description |
|---|---|---|
| id | string | Unique image ID |
| name | string | Image name |
| visibility | string | Image visibility (public or private) |
| project_id | string | Project that owns the image |
| metadata | object | Additional image metadata |
metadata
| Field | Type | Description |
|---|---|---|
| base_image_name | string | null |
| image_type | string | null |
| original_instance_id | string | null |
Errors
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "Invalid API key"
}
}403 Forbidden
The API key does not have access to the requested project.