The Google Drive changes API lists all changes that have occured in a users Drive since a given point in time (indicated by a pageToken, Drive's equivalent of Dropbox's cursor). If a file has been modified multiple times, each modification will be listed (see the sample data below). When I receive a webhook to notify of a change, I use Dropbox's list_folder/continue method with the cursor I have saved for a user. It seems that unlike drive, the list_folder api will only list files that have changed, not each change that occurred to every file in the dropbox from the point in time of the cursor onwards. Is this correct?
If this is the case, how would one go about getting a chronological list of changes to the user's Dropbox, such as the sample from the Drive API below.
{
"kind": "drive#change",
"fileId": "0ByY6IA02pFulYUFGVzdVS1JPenM",
"removed": false,
"time": "2016-08-12T06:25:53.347Z",
"file": {
"kind": "drive#file",
"id": "0ByY6IA02pFulYUFGVzdVS1JPenM",
"name": "README.md",
"mimeType": "text/x-markdown"
}
},
{
"kind": "drive#change",
"fileId": "0ByY6IA02pFulbld4SlhVWi16V00",
"removed": false,
"time": "2016-08-12T06:18:28.114Z",
"file": {
"kind": "drive#file",
"id": "0ByY6IA02pFulbld4SlhVWi16V00",
"name": "README.md",
"mimeType": "text/x-markdown"
}
},
{
"kind": "drive#change",
"fileId": "0ByY6IA02pFulcUwwbXY2QU9acTQ",
"removed": false,
"time": "2016-08-12T06:15:21.384Z",
"file": {
"kind": "drive#file",
"id": "0ByY6IA02pFulcUwwbXY2QU9acTQ",
"name": "README.md",
"mimeType": "text/x-markdown"
}
}