Fetch an In-Memory DB Instance

You can retrieve an In-Memory DB instance using its UUID. It is found in the response body when an In-Memory DB instance is created or when you retrieve a list of In-Memory DB instances using GET.

Note:

  • Remember to update your UUID. The sample UUID in the example is 498ae72f-411f-11eb-9d07-046c59cc737e.

  • Your instance runs in the default port 6379. For more information, refer to the In-Memory DB documentation.

Endpoint

Use a region-specific endpoint from the list to fetch an instance: https://in-memory-db.{region}.ionos.com/replicasets/{replicasetId}

Request

To query a single instance, you need the id from your create response.

curl -X 'GET' \
  'https://in-memory-db.de-txl.ionos.com/replicasets/498ae72f-411f-11eb-9d07-046c59cc737e' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer $Token' \

To make authenticated requests to the API, the following fields are mandatory in the request header:

Header Parameters
Required
Type
Description

Authorization

yes

string

Provide a header value as Bearer followed by your token.

Content-Type

yes

string

Set this to application/json.

Response

202 Successful operation

Last updated

Was this helpful?