Ransomware Recovery

List all snapshots - v1

Lists all the quarantined snapshots within a specified range on the resource. :fa-info-circle: Both v1 and v2 Quarantine APIs are supported for Endpoints, File Server, NAS, VMware, OneDrive, Google Drive, SharePoint, and Shared Drive. However, only v2 Quarantine APIs are supported for Azure Virtual Machines.

get/ransomwarerecovery/v1/snapshots/resource/{resourceID}/range/{rangeID}

Request

  • Base URL
    https://apis.druva.com/realize
  • URL
    https://apis.druva.com/realize/ransomwarerecovery/v1/snapshots/resource/{resourceID}/range/{rangeID}
  • Auth
    API key in header Authorization

Path parameters

resourceIDinteger required

The unique ID of the resource on which you want to list the quarantine snapshots. Get the ID of a device using the 'List all devices' API. For data sources like File Server, NAS, VMware and so on, refer to the respective 'List all backup sets' API.

rangeIDstring required

The unique Quarantine range ID for which you need to list the quarantined snapshots. Get the quarantine range ID using the 'List all quarantine ranges' API.

Query parameters

pageTokenstring

The token to access the next page of results. Use the token value received in the previous response's parameter 'nextPageToken'.

Response

OK

nextPageTokenstring

The token to access the next page of results. This parameter will be empty for the last page of results.

isLastboolean

An identifier to identify if the returned page is the last page of results. Value can be one of the following - True - Is last page of results. False - There are more results available. Use 'nextPageToken' value to get the next list of results.

Example response

{
  "snapshots": [
    {
      "status": "Snapshot Quarantined",
      "snapshotName": "Nov 21 2019, 14:39",
      "name": "Nov 21 2019, 14:39",
      "alertTypes": [
        "Creation"
      ]
    }
  ],
  "nextPageToken": "20"
}

Changes

No recorded changes to this operation across all 1 revision of this API.