cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get list of all file changes

Get list of all file changes

michael34254
Explorer | Level 4

When I used the list_folder/continue API, I noticed that it returns the file changes for only that particular folder whose cursor has been used. If I want the changes that have been made in a different folder, I have to get the cursor of that folder and make an API call again.  Unlike getting list of changes of a particular folder, is there a way through which I can get a list of changes for all the folders through one API call.

1 Accepted Solution

Accepted Solutions

Re: Get list of all file changes

Здравко
Super Collaborator | Level 20

Hi @michael34254,

Have you used the "recursive" parameter in initial request (before /2/files/list_folder/continue)? :thinking: "continue" will just follows the "rules" set in initial call ("/2/files/list_folder" or "/2/files/list_folder/get_latest_cursor"). :wink:

Hope this helps.

View solution in original post

3 Replies 3

Re: Get list of all file changes

Здравко
Super Collaborator | Level 20

Hi @michael34254,

Have you used the "recursive" parameter in initial request (before /2/files/list_folder/continue)? :thinking: "continue" will just follows the "rules" set in initial call ("/2/files/list_folder" or "/2/files/list_folder/get_latest_cursor"). :wink:

Hope this helps.

View solution in original post

Re: Get list of all file changes

Greg-DB
Dropboxer

As Здравко mentioned, /2/files/list_folder/continue will behave according to the parameters used on the initial call to /2/files/list_folder for the used cursor.

It's not possible to change the parameters on an existing cursor. 

If you want to receive nested entries, you'll need to set 'recursive:true' on the initial /2/files/list_folder call. Likewise, if you want to get entries/changes for all files/folders under the root, as opposed to just a specific folder, you'll need to set the 'path' parameter on the initial /2/files/list_folder call to the empty string "".

Re: Get list of all file changes

michael34254
Explorer | Level 4

Thank's Greg, to you and Здравко. Totally ignored recursive for the initial request. Work's fine now.

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    michael34254 Explorer | Level 4
  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Здравко Super Collaborator | Level 20
What do Dropbox user levels mean?
Need more support?