The request creates a new restore. You must provide a full restore to create the object.
Use a region-specific endpoint from the following list to create a new restore:
https://in-memory-db.de-txl.ionos.com/snapshots/{snapshotId}/restores
https://in-memory-db.de-fra.ionos.com/snapshots/{snapshotId}/restores
https://in-memory-db.es-vit.ionos.com/snapshots/{snapshotId}/restores
https://in-memory-db.gb-lhr.ionos.com/snapshots/{snapshotId}/restores
https://in-memory-db.us-ewr.ionos.com/snapshots/{snapshotId}/restores
https://in-memory-db.us-las.ionos.com/snapshots/{snapshotId}/restores
https://in-memory-db.us-mci.ionos.com/snapshots/{snapshotId}/restores
https://in-memory-db.fr-par.ionos.com/snapshots/{snapshotId}/restores
Note: Remember to replace the snapshotId
with a relevant UUID
.
To make authenticated requests to the API, the following fields are mandatory in the request header:
The following path parameter is mandatory:
Below is the list of mandatory body parameters:
Your values will differ from those in the sample code. It may contain different IDs, timestamps etc.
202 Successful operation
Header Parameters | Required | Type | Description |
---|---|---|---|
Path Parameter | Required | Type | Description |
---|---|---|---|
Body Parameters | Type | Description | Example |
---|---|---|---|
Authorization
yes
string
Provide a header value as Bearer
followed by your token
.
Content-Type
yes
string
Set this to application/json
.
snapshotId
yes
string
The ID (UUID) of the Snapshot. Example: a8784665-3d99-5464-af32-30a2967f58e7
.
replicasetId
string
The ID of the replica set the restore was applied on.
ac71d588-f2bb-481c-8905-52d37b5cb3b4
.