Dashboard Report Using REST API

Learn how to review the migration dashboard using the DryvIQ REST API.


Overview

The sample code in this section provides REST API calls for the same information available on the Dashboard.  

Total Number of Jobs and Total Runs

GET {{url}}v1/reports/all/stats?fields=transfer_stats

Value of Data Identified and Data Resolved

Cumulative total of source bytes:
GET {{url}}v1/transfers/stats/by_status
Cumulative total of destination bytes:
GET {{url}}v1/transfers/stats/by_status

Dashboard Timeline

GET {{url}}v1/transfers/stats/timeline?range=2w

Transfer statistics

GET {{url}}v1/reports/all/stats?fields=transfer_stats

Statistics for a Given Period

List All Reports for the Last 2 Weeks

The following example uses two weeks. Edit the range value to reflect your desired timeframe. 

GET {{url}}v1/reports/all/stats?range=2w

List All Stats for the Last 2 Weeks

The following example uses two weeks. Edit the range value to reflect your desired timeframe. 

GET {{url}}v1/transfers/stats?range=2w