Retrieve In-Memory DB Snapshots

You can retrieve a list of In-Memory DB snapshots. The number of results displayed on each page depends on the limit and offset values. While limit limits the number of response elements, offset specifies the starting point within the collection of resource results returned from the server.

Additionally, you can also use a response filter (filter.name) to list only the In-Memory DB snapshots that contain the specified displayName.

Endpoint

Use a region-specific endpoint from the following list to retrieve all In-Memory DB snapshots:

  • https://in-memory-db.de-txl.ionos.com/snapshots

  • https://in-memory-db.de-fra.ionos.com/snapshots

  • https://in-memory-db.es-vit.ionos.com/snapshots

  • https://in-memory-db.gb-lhr.ionos.com/snapshots

  • https://in-memory-db.us-ewr.ionos.com/snapshots

  • https://in-memory-db.us-las.ionos.com/snapshots

  • https://in-memory-db.us-mci.ionos.com/snapshots

  • https://in-memory-db.fr-par.ionos.com/snapshots

Request

The following is a sample request:

curl -X 'GET' \
  'https://in-memory-db.de-txl.ionos.com/snapshots' \
  --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 ParametersRequiredTypeDescription

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

{
    "id": "12345678-1234-1234-1234-123456781234",
    "type": "collection",
    "href": "/snapshots?limit=100&offset=0",
    "items": [],
    "offset": 0,
    "limit": 100,
    "_links": {
        "self": "/snapshots?limit=100&offset=0",
        "next": "/snapshots?limit=100&offset=100"
    }
}

Last updated