v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Restore scans

Lists all the Restore scans jobs.

Returns the list of all Restore scans jobs.

get/rwcscanmaster/v1/jobs

Query parameters

sortBy'scanJobID' | 'status' | 'resourceType'

Specify the parameter by which you intend to sort the listed results. Sorting can be done on basis of 'scanJobID', 'resourceType' parameters.

sortOrder'asc' | 'desc'

Specify the order by which you intend to sort and list the results. Sorting can be done in ascending or descending order.

status[]string[]

Specify the current status of the scan job to filter and list the jobs. The status can be 'Running', 'Queued', 'Successful', 'Cancelled' and 'Failed'

resourceType[]string[]

Specify the resource type to filter and list the data for the resource types. The resource type can be 'Endpoints', 'File Server', 'NAS', 'VMware'

resourceNamestring

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

startedIn'Last 24 Hours' | 'Last 7 Days' | 'Last 1 Month'

Specify the time when the job was started.

pageTokenstring

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

Response

OK

nextPageTokenstring

The token to access the next page of results. This parameter will be empty for the last page of the results. For example - eyJpZCI6NTY1NX0=

totalItemsinteger

Total jobs present in the response.

Example response

{
  "jobs": [
    {
      "scanJobID": 831,
      "globalCustomerID": "10293",
      "orgID": 123,
      "orgName": "Default Organization",
      "productID": 12289,
      "productJobType": "Restore",
      "resourceType": "Endpoint",
      "resourceID": 1234,
      "resourceName": "Ernie Carter Macbook",
      "addTime": "2021-04-12T09:33:55Z",
      "endTime": "2021-04-12T09:33:55Z",
      "jobType": "Restore Scan",
      "statusCode": 2,
      "status": "Successful",
      "deviceName": "Ernie Carter's Macbook."
    }
  ],
  "nextPageToken": "eyJpZCI6NTY1NX0=",
  "totalItems": 38
}