Scaleway logo
Instance API

Images are backups of your Instances. One image will contain all the volumes of your Instance and can be used to restore your Instance and its data. You can also use it to create a series of Instances with a predefined configuration. To copy not all but only one specified volume of an Instance, you can use the snapshot feature instead.


List Instance images

GET
https://api.scaleway.com
/instance/v1/zones/{zone}/images

List all existing Instance images.

List Instance images › path Parameters

zone
​string · enum · required

The zone you want to target

Enum values:
fr-par-1
fr-par-2
fr-par-3
nl-ams-1
nl-ams-2
nl-ams-3
pl-waw-1
pl-waw-2

List Instance images › query Parameters

organization
​google.protobuf.StringValue
per_page
​integer · uint32
page
​google.protobuf.Int32Value · int32

List Instance images › Responses


Create an Instance image

POST
https://api.scaleway.com
/instance/v1/zones/{zone}/images

Create an Instance image from the specified snapshot ID.

Create an Instance image › path Parameters

zone
​string · enum · required

The zone you want to target

Enum values:
fr-par-1
fr-par-2
fr-par-3
nl-ams-1
nl-ams-2
nl-ams-3
pl-waw-1
pl-waw-2

Create an Instance image › Request Body

root_volume
​string · required

UUID of the snapshot.

arch
​scaleway.instance.v1.Arch · enum · required

Architecture of the image.

Enum values:
unknown_arch
x86_64
arm
arm64
Default: unknown_arch
name
​string

Name of the image.

​object

Additional volumes of the image.

project
​string | null

Project ID of the image.

tags
​string[]

Tags of the image.

public
​boolean | null

True to create a public image.

Create an Instance image › Responses


Update image

PUT
https://api.scaleway.com
/instance/v1/zones/{zone}/images/{id}

Replace all image properties with an image message.

Update image › path Parameters

zone
​string · enum · required

The zone you want to target

Enum values:
fr-par-1
fr-par-2
fr-par-3
nl-ams-1
nl-ams-2
nl-ams-3
pl-waw-1
pl-waw-2
id
​string · required

Update image › Request Body

name
​string
arch
​scaleway.instance.v1.Arch · enum
Enum values:
unknown_arch
x86_64
arm
arm64
Default: unknown_arch
creation_date
​string | null · date-time

(RFC 3339 format)

modification_date
​string | null · date-time

(RFC 3339 format)

​object
from_server
​string
organization
​string
public
​boolean
state
​scaleway.instance.v1.Image.State · enum
Enum values:
available
creating
error
Default: available
project
​string

Update image › Responses


Get an Instance image

GET
https://api.scaleway.com
/instance/v1/zones/{zone}/images/{image_id}

Get details of an image with the specified ID.

Get an Instance image › path Parameters

zone
​string · enum · required

The zone you want to target

Enum values:
fr-par-1
fr-par-2
fr-par-3
nl-ams-1
nl-ams-2
nl-ams-3
pl-waw-1
pl-waw-2
image_id
​string · required

UUID of the image you want to get.

Get an Instance image › Responses


Delete an Instance image

DELETE
https://api.scaleway.com
/instance/v1/zones/{zone}/images/{image_id}

Delete the image with the specified ID.

Delete an Instance image › path Parameters

zone
​string · enum · required

The zone you want to target

Enum values:
fr-par-1
fr-par-2
fr-par-3
nl-ams-1
nl-ams-2
nl-ams-3
pl-waw-1
pl-waw-2
image_id
​string · required

UUID of the image you want to delete.

Delete an Instance image › Responses

No data returned

Update image

PATCH
https://api.scaleway.com
/instance/v1/zones/{zone}/images/{image_id}

Update the properties of an image.

Update image › path Parameters

zone
​string · enum · required

The zone you want to target

Enum values:
fr-par-1
fr-par-2
fr-par-3
nl-ams-1
nl-ams-2
nl-ams-3
pl-waw-1
pl-waw-2
image_id
​string · required

UUID of the image. (UUID format)

Update image › Request Body

name
​string | null

Name of the image.

arch
​scaleway.instance.v1.Arch · enum

Architecture of the image.

Enum values:
unknown_arch
x86_64
arm
arm64
Default: unknown_arch
​object

Additional snapshots of the image, with extra_volumeKey being the position of the snapshot in the image.

tags
​array | null

Tags of the image.

public
​boolean | null

True to set the image as public.

Update image › Responses