Scaleway logo
Elastic Metal API

You have the possibility to customize server partitioning schema on some offers/os.


Get default partitioning schema

GET
https://api.scaleway.com
/baremetal/v1/zones/{zone}/partitioning-schemas/default

Get the default partitioning schema for the given offer ID and OS ID.

Get default partitioning schema › path Parameters

zone
​string · enum · required

The zone you want to target

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

Get default partitioning schema › query Parameters

offer_id
​string · required

ID of the offer.

os_id
​string · required

ID of the OS.

Get default partitioning schema › Responses


Validate client partitioning schema

POST
https://api.scaleway.com
/baremetal/v1/zones/{zone}/partitioning-schemas/validate

Validate the incoming partitioning schema from a user before installing the server. Return default ErrorCode if invalid.

Validate client partitioning schema › path Parameters

zone
​string · enum · required

The zone you want to target

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

Validate client partitioning schema › Request Body

​scaleway.baremetal.v1.Schema

Partitioning schema.

offer_id
​string

Offer ID of the server.

os_id
​string

OS ID.

Validate client partitioning schema › Responses

No data returned