Content Insights Using REST API
File Type Breakdown
View a breakdown of the content grouped into 5 content categories.
GET {{url}}v1/transfers/{{job}}/stats/by_content_categoryFile Attributes Breakdown
Each chart is broken down into the top 5 buckets, with the remaining items captured into the "other" or "older" bucket. Use the following calls to return the information in the corresponding charts.
Extensions Chart
GET {{url}}v1/transfers/{{job}}/stats/by_extModified Date Chart
GET {{url}}v1/transfers/{{job}}/stats/by_ageFolder Depth Chart
GET {{url}}v1/transfers/{{job}}/stats/by_depthFile Version Count Chart
GET {{url}}v1/transfers/{{job}}/stats/by_versionsContent 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=5Largest Folders
GET {{url}}v1/transfers/{{job}}/folders?&fields=id,name,source.path,source.bytes&sort=source.bytes+desc&offset=0&limit=5List All Content Categories (File Types)
To view your entire content breakdown by category, use the following call.
GET {{url}}v1/transfers/stats/by_content_categoryExample 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
}
}
}
}
