List images
Retrieve available images that can be used to create compute instances.
Endpoint
GET /v1/imagesExample
cURL
curl https://api.redu.cloud/v1/images \
-H "x-api-key: YOUR_API_KEY"Successful response
{
"items": [
{
"id": "54f06e50-0459-4699-b0d5-be8df4c220a4",
"name": "ubuntu24.04",
"visibility": "public"
},
{
"id": "3f43f343-8d4f-42da-9fa6-f77367aa2725",
"name": "cirros",
"visibility": "public"
}
],
"next_cursor": null
}Fields
Image
| Field | Type | Description |
|---|---|---|
| id | string | Unique image ID |
| name | string | Image name |
| visibility | string | public or private |
Errors
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "Invalid API key"
}
}403 Forbidden
The API key does not have access to the requested resource.
Last updated on