---
title: "Lists all snapshots quarantined for a given resource - v2"
method: GET
path: "/ransomwarerecovery/v2/snapshots/resource/{resourceID}"
tags: ["Ransomware Recovery"]
---

# Lists all snapshots quarantined for a given resource - v2

`GET /ransomwarerecovery/v2/snapshots/resource/{resourceID}`

## Request

- Base URL: `https://apis.druva.com/realize`
- URL: `https://apis.druva.com/realize/ransomwarerecovery/v2/snapshots/resource/{resourceID}`
- Auth: none declared

Lists all snapshots quarantined for a given resource.

## Path parameters

- `resourceID` string, required

## Query parameters

- `resourceType` 'Endpoint' | 'File Server' | 'NAS' | 'VMware' | 'OneDrive' | 'Google Drive' | 'SharePoint' | 'Shared Drive' | 'AzureVM', required
- `orgId` integer
- `fromDate` string, date
- `toDate` string, date
- `udaImpact` boolean
- `quarantineType[]` string[]
- `airGapType` string

## Response `200`

OK

- ListAllQuarantinedSnapshotsForResourceResponseSchema
  - `snapshots` object[]
    - `snapshotID` string
    - `snapshotName` string
    - `createdFiles` integer
    - `deletedFiles` integer
    - `updatedFiles` integer
    - `encryptedFiles` integer
    - `totalFilesImpacted` integer
    - `snapshotSize` integer
    - `quarantineType` 1 | 2
    - `snapshotEpoch` integer
    - `rangeID` integer
    - `storageID` integer: Provides information about the Storage ID where the snapshot is backed up.
    - `csetID` integer: Provides information about the CSET ID where the snapshot is backed up.
    - `isAirGapped` boolean: Indicates if the snapshot is backed up to Druva Cloud.

## Other responses

- `400`: Bad Request
- `401`: The request did not include an authentication token or an expired authentication token was supplied.
- `404`: 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)
