Curated Snapshots

List all the Curated Snapshot Jobs.

Lists the Curated Snapshot Jobs.

get/curatedsnapshot/v1/jobs

Request

  • Base URL
    https://apis.druva.com/realize
  • URL
    https://apis.druva.com/realize/curatedsnapshot/v1/jobs
  • Auth
    API key in header Authorization

Query 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.

sortBy'jobID' | 'status' | 'resourceName'

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

resourceType[]string[]

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

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'.

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

Specify the time when the job was started.

resourceNamestring

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

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": [
    {
      "jobID": 1,
      "globalCustomerID": "10293",
      "productID": 12289,
      "createdByName": "Cloud Admin",
      "orgID": -1,
      "orgName": "Default Organization",
      "workload": "endpoints",
      "resourceID": 1234,
      "resourceName": "Ernie Carter's Macbook",
      "resourceType": "Endpoint",
      "resourceParentName": "Ernie Carter",
      "addTime": "2021-04-12T09:33:55Z",
      "endTime": "2021-04-12T10:33:55Z",
      "jobType": "Synthetic Snapshot",
      "statusCode": 2,
      "status": "Running",
      "useLightScan": true
    }
  ],
  "nextPageToken": "eyJpZCI6NTY1NX0=",
  "totalItems": 38
}

Changes

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