Content Insights Using REST API
Learn how to review the Content Insights report for migration jobs using the DryvIQ REST API.
Table of Contents
File Type Breakdown
View a breakdown of the content grouped into five content categories.
GET {{url}}v1/transfers/{{job}}/stats/by_content_category
File Attributes Breakdown
Each chart is divided into the top five buckets, with the remaining items captured in the "other" or "older" bucket. To return the information in the corresponding charts, use the following requests.
Extensions Chart
GET {{url}}v1/transfers/{{job}}/stats/by_ext
Modified Date Chart
GET {{url}}v1/transfers/{{job}}/stats/by_age
Folder Depth Chart
GET {{url}}v1/transfers/{{job}}/stats/by_depth
File Version Count Chart
GET {{url}}v1/transfers/{{job}}/stats/by_versions
Content Analysis
The Content Analysis section breaks down your top largest files and folders.
Largest Files
GET {{url}}v1/transfers/{{job}}/items?&fields=id,name,source.path,source.bytes&sort=source.bytes+desc&offset=0&limit=5
Largest Folders
GET {{url}}v1/transfers/{{job}}/folders?&fields=id,name,source.path,source.bytes&sort=source.bytes+desc&offset=0&limit=5
List All Content Categories (File Types)
To view your entire content breakdown by category, use the following call.
GET {{url}}v1/transfers/stats/by_content_category
Example Response
{
"status": 200,
"meta": {
"offset": 0
},
"item": {
"0aacaf433f5c43a48426f77953d2ecd9": {
"id": "0aacaf433f5c43a48426f77953d2ecd9",
"name": "Documents",
"description": "Document Files (*.rtf, *.docx, etc.)",
"source": {
"bytes": 2217236987,
"files": 7392
},
"destination": {
"bytes": 2232578235,
"files": 7393
}
},
"6761680c05784e0dab1fb7b5650b5477": {
"id": "6761680c05784e0dab1fb7b5650b5477",
"name": "Windows",
"description": "Windows OS/DB Files (.lnk; .db...)",
"source": {
"bytes": 80343,
"files": 56
},
"destination": {
"bytes": 80343,
"files": 56
}
},
"67fd6f27c4764bf2ab332786ef1b464e": {
"id": "67fd6f27c4764bf2ab332786ef1b464e",
"name": "Executables",
"description": "Executables and Programs (.exe; .msi...)",
"source": {
"bytes": 1484575602,
"files": 576
},
"destination": {
"bytes": 1484575596,
"files": 575
}
},
"85fde96a6ce74d949c706a3b6e3daf87": {
"id": "85fde96a6ce74d949c706a3b6e3daf87",
"name": "Images",
"description": "Image Files (.jpg; .png...)",
"source": {
"bytes": 741025661,
"files": 2133
},
"destination": {
"bytes": 741046106,
"files": 2134
}
},
"b705e699f43e48c2b0fd15e7e8f40b5d": {
"id": "b705e699f43e48c2b0fd15e7e8f40b5d",
"name": "Other",
"description": "Other Files",
"source": {
"bytes": 6387220903,
"files": 161814
},
"destination": {
"bytes": 6388215363,
"files": 161812
}
},
"d14553e198a54a55ad036bcd63d4b5d4": {
"id": "d14553e198a54a55ad036bcd63d4b5d4",
"name": "Temporary",
"description": "Temporary Files (*.tmp, *.temp, ~$*.docx, ~$*.xlsx, etc.)",
"source": {
"bytes": 162,
"files": 1
},
"destination": {
"bytes": 162,
"files": 1
}
},
"dd7c79007f5f4f5cb2ec12955ccb9a4f": {
"id": "dd7c79007f5f4f5cb2ec12955ccb9a4f",
"name": "Audio",
"description": "Audio Files (.mp3; .wma; .wav...)",
"source": {
"bytes": 37351672,
"files": 7
},
"destination": {
"bytes": 37351672,
"files": 7
}
},
"fc13668fd8694287a285a6c4b605d5a1": {
"id": "fc13668fd8694287a285a6c4b605d5a1",
"name": "Movies",
"description": "Movie Files (.wmv; .mov...)",
"source": {
"bytes": 199850982,
"files": 42
},
"destination": {
"bytes": 199850982,
"files": 42
}
}
}
}