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

Lists all snapshots quarantined for a given resource.

## Path parameters

- `resourceID` string, required

## Query parameters

- `resourceType` 'Endpoint' | 'OneDrive' | 'SharePoint' | 'File Server' | 'NAS' | 'VMware', 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.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
