v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Ransomware Recovery

Lists all quarantine ranges - v1

Returns the list of all the defined quarantined ranges for resources along with their details. :fa-info-circle: Both v1 and v2 Quarantine APIs are supported for Endpoints, File Server, NAS, VMware, OneDrive, and SharePoint.

get/ransomwarerecovery/v1/quarantineranges

Query parameters

searchStringstring

Specify the complete name or a prefix from the resource name by which you intend to search and list the resources. Example - “My” is the prefix in the resource name “MyResource123”.

resourceParentstring

Specify the complete name or a prefix from the resource parent's name by which you intend to search and list the resources. Example - “My” is the prefix in the resource parent's name “MyParent123”.

fromDatestring

Specify a date from which you want to list all the quarantined resources. Format - YYYY-MM-DD Example - 2020-10-25. :fa-info-circle: If you do not specify a date this will list all quarantined resources from January 06, 2020 (a system-defined limit). Druva uses UTC time zone to quarantine a resource. You must factor in the difference between the resource time zone and UTC zone while selecting the dates.

toDatestring

Specify a date till which you want to list all the quarantined resources. Format - YYYY-MM-DD Example - 2020-10-25. :fa-info-circle: If you do not specify a date this will list all quarantined resources till date. Druva uses UTC time zone to quarantine a resource. You must factor in the difference between the resource time zone and UTC zone while selecting the dates.

resourceType[]string[]

This can be used to filter Quarantine ranges based on Resource Type. Multiple resource types can be selected at once.

pageTokeninteger

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

orgIDinteger

The Phoenix organization ID for the resource. For inSync workloads, value will be -1.

resourceNamestring

Specify the resource name to filter and list the specific resource name within Druva Cloud. Example - 'DOMAIN1234'.

resourceIDinteger

The unique ID of the quarantined resource on which the snapshots range needs to be updated. Get the ID of a device using the ‘List all devices’ API. For data sources like File Server, NAS, VMware refer to the respective ‘List all backup sets’ API.

Response

OK

errorMessagestring

Error Message if any.

nextPageTokeninteger

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

{
  "quarantineRanges": [
    {
      "resourceID": 101,
      "rangeID": 101,
      "orgID": -1,
      "resourceName": "Ernie Carter's Macbook.",
      "resourceParent": "Ernie Carter",
      "resourcePlatform": "linux",
      "resourceType": "Endpoint",
      "workload": "endpoints",
      "fromDate": "2020-10-25",
      "toDate": "2020-10-25"
    }
  ],
  "errorMessage": "Message of the error seen while listing quarantined range.",
  "nextPageToken": 20,
  "isLast": true
}