Get Snapshots
GET https://{{cluster_vip}}/v2/data-protect/search/protected-objects?snapshotActions=RecoverObjects&searchString=*&protectionGroupIds={{protectionGroupId}}&environments=kCassandra
Returns information including the snapshot IDs of the Cassandra objects that are being protected in the Protection Group specified in the API URL.
The Protection Group ID (protectionGroupId) of the protection Group to be specified in the API URL can be fetched from the Create Protection Group API response
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
snapshotActions | string | ||
searchString | string | ||
protectionGroupIds | string | ||
environments | string |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
{"objects":[{"id":11746,"name":"{{Cassandra_name}}","sourceId":11746,"environment":"kCassandra","objectType":"kCluster","uuid":"{{uuid}}","osType":"kOther","protectionStats":null,"latestSnapshotsInfo":[{"archivalSnapshotsInfo":[{"snapshotId":"{{snashotId}}","logicalSizeBytes":0,"targetId":1276424,"archivalTaskId":"4594155844987574:1679899218812:1438114","targetName":"aws_s3_standard_target","targetType":"Cloud","ownershipContext":"Local","tierSettings":{"cloudPlatform":null}}],"indexingStatus":"Done","protectionGroupId":"4594155844987574:1679899218812:880","protectionGroupName":"{{ProtectionGroupName}}","runInstanceId":881,"storageDomainId":33,"protectionRunId":"880:1680005024062490","runType":"kFull","protectionRunStartTimeUsecs":1680005024062490,"localSnapshotInfo":{"snapshotId":"{{snashotId}}","logicalSizeBytes":0}}],"sourceInfo":{"id":11746,"Name":"{{Cassandra_name}}","sourceId":11746,"environment":"kCassandra","objectType":"kCluster","uuid":"{{uuid}}"}}],"numResults":1,"metadata":{"uniqueProtectionGroupIdentifiers":[{"protectionGroupId":"4594155844987574:1679899218812:880","protectionGroupName":"{{ProtectionGroupName}}"}]}}