Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve Snapshot

Returns the Snapshot by ID.

get
/snapshots/{snapshotId}
Authorizations
AuthorizationstringRequired

The token can be generated using the Authentication API.

Path parameters
snapshotIdstring · uuidRequired

The ID (UUID) of the Snapshot.

Example: a8784665-3d99-5464-af32-30a2967f58e7
Responses
200

Getting Snapshot was successful.

application/json
idstring · uuidRequired

The ID (UUID) of the Snapshot.

Example: a8784665-3d99-5464-af32-30a2967f58e7
typestring · enumRequired

The type of the resource.

Possible values:
hrefstringRequired

The URL of the Snapshot.

Example: /snapshots/a8784665-3d99-5464-af32-30a2967f58e7
metadataobject · NoMetadataRead-onlyRequired
get/snapshots/{snapshotId}
GET /v2/snapshots/{snapshotId} HTTP/1.1
Host: mongodb.gb-bhx.ionos.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "a8784665-3d99-5464-af32-30a2967f58e7",
  "type": "snapshot",
  "href": "/snapshots/a8784665-3d99-5464-af32-30a2967f58e7",
  "metadata": {},
  "properties": {
    "clusterId": "dcd31531-3ac8-11eb-9feb-046c59cc737e",
    "clusterName": "my-mongodb-cluster",
    "mongoVersion": null,
    "earliestRecoveryTargetTime": "2023-10-05T14:48:00.000Z",
    "latestRecoveryTargetTime": "2023-10-10T14:48:00.000Z",
    "location": "eu-south-2",
    "totalSize": 4096,
    "requiredStorageSize": 2048
  }
}

Last updated

Was this helpful?