Data Anomalies

List snapshot statistics

Returns the snapshot statistics for a resource for which the Data Anomalies alert is generated. It displays the statistics for the last 30 days.

get/uda/v1/stats/{workload}/resources/{resourceID}

Request

  • Base URL
    https://apis.druva.com/realize
  • URL
    https://apis.druva.com/realize/uda/v1/stats/{workload}/resources/{resourceID}
  • Auth
    API key in header Authorization

Path parameters

workload'fileserver' | 'nas' | 'endpoints' | 'sharepoint' | 'onedrive' | 'vmware' | 'azurevm' | 'ec2' | 'ebsvolume' required

Specify the workload for which you want to view the statistics.

resourceIDinteger required

The unique ID of the resource for which you want to list and view all the anomalous 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.

Query parameters

pageTokeninteger

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

Response

OK

orgIDinteger

The unique identifier of the Phoenix organization for the resource. Example - 101. Not applicable for Endpoints.

resourceIDinteger

The unique identifier of the resource, a device or a backup set on which Data Anomalies is detected.

resourceNamestring

Name of the resource on which Data Anomalies are detected. Example - Ernie Carter's Macbook.

resourceParentNamestring

Name of the device user in case of a device or Server Name in case of a backup set which is quarantined. Example - Ernie Carter

resourcePlatformstring

The operating system of the resource. Example - linux. Not applicable ("NA") for FS/NAS.

workload'endpoints' | 'fileserver' | 'nas' | 'vmware' | 'sharepoint' | 'onedrive' | 'azurevm' | 'ec2' | 'ebsvolume'
resourceType'Endpoint' | 'File Server' | 'NAS' | 'VMware' | 'SharePoint' | 'OneDrive' | 'AzureVM' | 'EC2' | 'EBS Volume'

The type of the resource. A resource can be one of the following types -

  • Endpoint
  • File Server
  • NAS
  • VMware
  • SharePoint
  • OneDrive
  • AzureVM
  • EC2
  • EBS Volume.
totalAlertsinteger

The total number of Data Anomalies alerts occurred in the last 30 days.

activeAlertsinteger

The total number of Data Anomalies alerts on which no action has been taken for the past 30 days.

siteTypestring

Site type for Sharepoint sites.

siteUrlstring

The URL of the SharePoint site.

resourceUrlstring

The url that redirects to the product user interface (UI) of the resource.

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

{
  "orgID": 101,
  "resourceID": 101,
  "resourceName": "Ernie Carter's Macbook",
  "resourceParentName": "Ernie Carter",
  "resourcePlatform": "linux",
  "stats": [
    {
      "snapshotID": "Mjk4OC1GcmkgTm92IDIyIDExOjEzOjU5IDIwMTk=",
      "snapshotName": "Nov 21 2019, 14:39."
    }
  ],
  "nextPageToken": "20"
}

Changes

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