Skip to main content
POST
Add shards to a Neki shard configuration profile

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organization
string
required

Organization name slug from list_organizations. Example: acme.

database
string
required

Database name slug from list_databases. Example: app-db.

branch
string
required

Branch name from list_branches. Example: main.

configuration_profile
string
required

Name from list_shard_configuration_profiles.

Body

application/json
count
integer
required

The number of shards to add

Response

Returns the created shard IDs

created
integer
required

The number of shards created

shard_ids
string[]
required

The public IDs of the created shards