Scaleway logo
Cloud Essentials for Opensearch API

Manage your Opensearch engine


Retrieve a list of Cloud Essentials for OpenSearch deployments

GET
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments

Retrieve a list of Cloud Essentials for OpenSearch deployments › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par

Retrieve a list of Cloud Essentials for OpenSearch deployments › query Parameters

organization_id
​string

ID of the Organization containing the deployments.

project_id
​string

ID of the Project containing the deployments.

Define the order of the returned deployments.

Enum values:
created_at_asc
created_at_desc
name_asc
name_desc
updated_at_asc
updated_at_desc
Default: created_at_asc
page
​integer · int32

The page number to return, from the paginated results.

page_size
​integer · uint32

Number of deployments to return.

tags
​string[]

Filter by tag, only deployments with one or more matching tags will be returned.

name
​string

Deployment name to filter for.

Retrieve a list of Cloud Essentials for OpenSearch deployments › Responses

200

List of deployments available.

total_count
​integer · uint64

Total number of objects.


Create a new Cloud Essentials for OpenSearch deployment

POST
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments

Create a new Cloud Essentials for OpenSearch deployment › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par

Create a new Cloud Essentials for OpenSearch deployment › Request Body

project_id
​string

Project ID in which to create the deployment. (UUID format)

name
​string

Name of the deployment.

tags
​string[]

Tags.

node_count
​integer | null · uint32

Number of nodes.

node_type
​string

Node type.

user_name
​string | null

Username for the deployment user.

password
​string | null

Password for the deployment user.

Endpoints to access the deployment.

version
​string

The Opensearch version to use.

Create a new Cloud Essentials for OpenSearch deployment › Responses

200
id
​string

Unique identifier of the Deployment. (UUID format)

name
​string

Name of the Deployment.

organization_id
​string

ID of the Organization containing the Deployment. (UUID format)

project_id
​string

ID of the Project containing the Deployment. (UUID format)

status
​scaleway.searchdb.v1alpha1.Deployment.Status · enum

Status of the Deployment.

Enum values:
unknown_status
ready
creating
initializing
upgrading
deleting
error
locked
Default: unknown_status
tags
​string[]

Tags of the Deployment.

node_count
​integer · uint32

Number of nodes allocated per deployment.

node_type
​string

Node type used in deployment.

Volume type and size.

Exposed endpoints.

created_at
​string | null · date-time

Creation date of the Deployment. (RFC 3339 format)

updated_at
​string | null · date-time

Date when last update was done to the Deployment. (RFC 3339 format)

version
​string

Opensearch version of the Deployment.

region
​string

Region the Deployment is located.

srn
​string · pattern: ^srn://searchdb\.[^/…

The SRN of the Deployment.


Retrieve a specific Cloud Essentials for OpenSearch deployment

GET
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}

Retrieve a specific Cloud Essentials for OpenSearch deployment › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
deployment_id
​string · required

ID of the deployment.

Retrieve a specific Cloud Essentials for OpenSearch deployment › Responses

200
id
​string

Unique identifier of the Deployment. (UUID format)

name
​string

Name of the Deployment.

organization_id
​string

ID of the Organization containing the Deployment. (UUID format)

project_id
​string

ID of the Project containing the Deployment. (UUID format)

status
​scaleway.searchdb.v1alpha1.Deployment.Status · enum

Status of the Deployment.

Enum values:
unknown_status
ready
creating
initializing
upgrading
deleting
error
locked
Default: unknown_status
tags
​string[]

Tags of the Deployment.

node_count
​integer · uint32

Number of nodes allocated per deployment.

node_type
​string

Node type used in deployment.

Volume type and size.

Exposed endpoints.

created_at
​string | null · date-time

Creation date of the Deployment. (RFC 3339 format)

updated_at
​string | null · date-time

Date when last update was done to the Deployment. (RFC 3339 format)

version
​string

Opensearch version of the Deployment.

region
​string

Region the Deployment is located.

srn
​string · pattern: ^srn://searchdb\.[^/…

The SRN of the Deployment.


Update a Cloud Essentials for OpenSearch deployment

PATCH
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}

Update a Cloud Essentials for OpenSearch deployment › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
deployment_id
​string · required

UUID of the deployment to update. (UUID format)

Update a Cloud Essentials for OpenSearch deployment › Request Body

name
​string | null

Name of the deployment.

tags
​array | null

Tags of a deployment.

Update a Cloud Essentials for OpenSearch deployment › Responses

200
id
​string

Unique identifier of the Deployment. (UUID format)

name
​string

Name of the Deployment.

organization_id
​string

ID of the Organization containing the Deployment. (UUID format)

project_id
​string

ID of the Project containing the Deployment. (UUID format)

status
​scaleway.searchdb.v1alpha1.Deployment.Status · enum

Status of the Deployment.

Enum values:
unknown_status
ready
creating
initializing
upgrading
deleting
error
locked
Default: unknown_status
tags
​string[]

Tags of the Deployment.

node_count
​integer · uint32

Number of nodes allocated per deployment.

node_type
​string

Node type used in deployment.

Volume type and size.

Exposed endpoints.

created_at
​string | null · date-time

Creation date of the Deployment. (RFC 3339 format)

updated_at
​string | null · date-time

Date when last update was done to the Deployment. (RFC 3339 format)

version
​string

Opensearch version of the Deployment.

region
​string

Region the Deployment is located.

srn
​string · pattern: ^srn://searchdb\.[^/…

The SRN of the Deployment.


Delete a Cloud Essentials for OpenSearch deployment

DELETE
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}

Delete a Cloud Essentials for OpenSearch deployment › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
deployment_id
​string · required

ID of the deployment.

Delete a Cloud Essentials for OpenSearch deployment › Responses

200
id
​string

Unique identifier of the Deployment. (UUID format)

name
​string

Name of the Deployment.

organization_id
​string

ID of the Organization containing the Deployment. (UUID format)

project_id
​string

ID of the Project containing the Deployment. (UUID format)

status
​scaleway.searchdb.v1alpha1.Deployment.Status · enum

Status of the Deployment.

Enum values:
unknown_status
ready
creating
initializing
upgrading
deleting
error
locked
Default: unknown_status
tags
​string[]

Tags of the Deployment.

node_count
​integer · uint32

Number of nodes allocated per deployment.

node_type
​string

Node type used in deployment.

Volume type and size.

Exposed endpoints.

created_at
​string | null · date-time

Creation date of the Deployment. (RFC 3339 format)

updated_at
​string | null · date-time

Date when last update was done to the Deployment. (RFC 3339 format)

version
​string

Opensearch version of the Deployment.

region
​string

Region the Deployment is located.

srn
​string · pattern: ^srn://searchdb\.[^/…

The SRN of the Deployment.


Upgrade a Cloud Essentials for OpenSearch deployment

POST
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/upgrade

Upgrade a Cloud Essentials for OpenSearch deployment › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
deployment_id
​string · required

UUID of the Deployment to upgrade. (UUID format)

Upgrade a Cloud Essentials for OpenSearch deployment › Request Body

node_count
​integer | null · uint32

The target number of nodes for the upgrade.

volume_size_bytes
​integer | null · uint64

Volume size upgrade target.

Upgrade a Cloud Essentials for OpenSearch deployment › Responses

200
id
​string

Unique identifier of the Deployment. (UUID format)

name
​string

Name of the Deployment.

organization_id
​string

ID of the Organization containing the Deployment. (UUID format)

project_id
​string

ID of the Project containing the Deployment. (UUID format)

status
​scaleway.searchdb.v1alpha1.Deployment.Status · enum

Status of the Deployment.

Enum values:
unknown_status
ready
creating
initializing
upgrading
deleting
error
locked
Default: unknown_status
tags
​string[]

Tags of the Deployment.

node_count
​integer · uint32

Number of nodes allocated per deployment.

node_type
​string

Node type used in deployment.

Volume type and size.

Exposed endpoints.

created_at
​string | null · date-time

Creation date of the Deployment. (RFC 3339 format)

updated_at
​string | null · date-time

Date when last update was done to the Deployment. (RFC 3339 format)

version
​string

Opensearch version of the Deployment.

region
​string

Region the Deployment is located.

srn
​string · pattern: ^srn://searchdb\.[^/…

The SRN of the Deployment.


Retrieve a list of deployment users

GET
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/users

Retrieve a list of deployment users › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
deployment_id
​string · required

Retrieve a list of deployment users › query Parameters

page
​integer · int32
page_size
​integer · uint32
Enum values:
name_asc
name_desc
Default: name_asc
name
​string

Retrieve a list of deployment users › Responses

200
total_count
​integer · uint64

Create a new user

POST
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/users

Create a new user › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
deployment_id
​string · required

ID of the deployment in which to create the user.

Create a new user › Request Body

username
​string

Username of the deployment user.

password
​string

Password of the deployment user.

Create a new user › Responses

200
username
​string

Username of the Deployment user.

deployment_id
​string

ID of the Deployment.

region
​string

Region of the user.

srn
​string · pattern: ^srn://searchdb\.[^/…

The SRN of the user.


Update an existing user

PATCH
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/users/{username}

Update an existing user › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
deployment_id
​string · required

ID of the deployment in which to create the user.

username
​string · required

Username of the deployment user.

Update an existing user › Request Body

password
​string | null

Password of the deployment user.

Update an existing user › Responses

200
username
​string

Username of the Deployment user.

deployment_id
​string

ID of the Deployment.

region
​string

Region of the user.

srn
​string · pattern: ^srn://searchdb\.[^/…

The SRN of the user.


Delete an existing user

DELETE
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/deployments/{deployment_id}/users/{username}

Delete an existing user › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
deployment_id
​string · required

ID of the deployment in which to create the user.

username
​string · required

Username of the deployment user.

Delete an existing user › Responses

No data returned

Create a new endpoint on a deployment

POST
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/endpoints

Create a new endpoint on a deployment › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par

Create a new endpoint on a deployment › Request Body

deployment_id
​string

ID of the deployment for which to create an endpoint. (UUID format)

Specification of the endpoint you want to create.

Create a new endpoint on a deployment › Responses

200
id
​string

Unique identifier of the Endpoint. (UUID format)

List of available services, their ports and URLs.

region
​string

Region of the Endpoint.

srn
​string · pattern: ^srn://searchdb\.[^/…

The SRN of the Endpoint.

​
​

Delete an existing endpoint

DELETE
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/endpoints/{endpoint_id}

Delete an existing endpoint › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
endpoint_id
​string · required

ID of the endpoint to delete.

Delete an existing endpoint › Responses

No data returned

Retrieve a list of available node types

GET
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/node-types

Retrieve a list of available node types › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par

Retrieve a list of available node types › query Parameters

Sort order of nodes in the response (name, vcpus or memory).

Enum values:
name_asc
name_desc
vcpus_asc
vcpus_desc
memory_asc
memory_desc
Default: name_asc
page
​integer · int32

Page number to return, from the paginated results.

page_size
​integer · uint32

Number of node types to return.

Retrieve a list of available node types › Responses

200

Node types compatible with the cluster.

total_count
​integer · uint64

Number of available node types to return.


List available Cloud Essentials for OpenSearch versions

GET
https://api.scaleway.com
/searchdb/v1alpha1/regions/{region}/versions

List available Cloud Essentials for OpenSearch versions › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par

List available Cloud Essentials for OpenSearch versions › query Parameters

Define the order of the returned version.

Enum values:
version_asc
version_desc
Default: version_asc
page
​integer · int32

The page number to return, form the paginated results.

page_size
​integer · uint32

Number of version to return.

version
​string

Filter by version.

List available Cloud Essentials for OpenSearch versions › Responses

200

List of versions.

total_count
​integer · uint64

Number of versions in the list.