---
title: "List all snapshots - v1"
method: GET
path: "/ransomwarerecovery/v1/snapshots/resource/{resourceID}/range/{rangeID}"
tags: ["Ransomware Recovery"]
---

# List all snapshots - v1

`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`

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.

## Path parameters

- `resourceID` integer, required
- `rangeID` string, required

## Query parameters

- `pageToken` string

## Response `200`

OK

- SnapshotListResponse
  - `snapshots` object[]
    - `snapshotID` integer: Unique ID of the snapshot. Example - Mjk4OC1GcmkgTm9Tk=XXXX
    - `status` 'Snapshot Quarantined' | 'Snapshot Available': The current status of the snapshot. Status can be one of the following - Snapshot Quarantined - Data cannot be downloaded or restored from the snapshot. Snapshot Available - Data is available for download or restore from the snapshot.
    - `snapshotName` string: The snapshot's name is the date and time it was created.If no data anomaly details are present,the snapshot name may be empty. Example - Nov 21 2019, 14:39
    - `name` string: Name of the snapshot. Snapshot name is the date and the time on which it was created. Example - Nov 21 2019, 14:39
    - `alertTypes` string[]: The type of Data Anomalies alert for the snapshot. Value can be any of the following - Creation - A large number of files created in a short span Modification - A large number of files edited or modified. Deletion - Several files got deleted from the snapshot. Encryption - Files encrypted and are inaccessible.
    - `createdFiles` integer: The total number of files created in the snapshot.
    - `deletedFiles` integer: The total number of files deleted in the snapshot.
    - `updatedFiles` integer: The total number of files modified in the snapshot.
    - `encryptedFiles` integer: The total number of files encrypted in the snapshot. Displays 100+ if the number of encrypted files is more than 100.
    - `totalFilesImpacted` integer: The total number of files created, deleted or modified in the snapshot.
    - `snapshotSize` integer: Snapshot size, in bytes.
  - `nextPageToken` string: The token to access the next page of results. This parameter will be empty for the last page of results.
  - `isLast` boolean: 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.

## Other responses

- `400`: Bad Request
- `401`: The request either did not include an authentication token, or you have provided an expired authentication token.
- `404`: The requested resource was not found.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/druva/apis/cyber-resilience.md) - [All operations](https://skmtc.dev/druva/apis/cyber-resilience/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/cyber-resilience/revisions/b149d46c996a?raw)
