Skip to main content
PUT
Create a data partition

Authorizations

X-Clinia-API-Key
string
header
required

Path Parameters

partitionKey
string
required

Key of the data partition it must follow pattern: ^[a-zA-Z0-9-][\w-]{0,61}$.

Query Parameters

stage
boolean

If true, the partition will be created as a staged partition. Staged partitions are mutable and can be modified.

If false, the partition will be created directly. This is the default behaviour and will make the data partition are immutable.

As of now, staged partitions are not fully supported and it is recommended to directly create ready partitions.

Body

application/json
source
object
required

Response

A successful response when the data partition was created.

source
object
required
key
string
read-only
status
enum<string>
read-only

The status of the data partition.

  • STATUS_STAGE: The data partition configuration is mutable. You can still query it as normal.
  • STATUS_READY: The data partition configuration is immutable.
Available options:
STATUS_READY,
STATUS_STAGE