cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it 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: 

How to get list of files recently modified within 24 hours through Dropbox API V2

How to get list of files recently modified within 24 hours through Dropbox API V2

rbsindhu90
Explorer | Level 3

Hi all,

 

I have an scenario where I need to find out the recently modified files in a day through Dropbox API v2 in Java. 

Right now I am scanning through each and every file in the Dropbox through ListFolderBuilder to check the server modified date to find out whether the file has been modified. 

Is there any way I could find only the recently modified files in a day through code in Dropbox API v2? Is this feature availble?

Appreciate your help here.

 

 

Thanks,

Sindhu.

1 Accepted Solution

Accepted Solutions

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

Greg-DB
Dropboxer
The Dropbox API unfortunately doesn't offer a better way to do this, but I'll pass this along as a feature request.

View solution in original post

9 Replies 9

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

Greg-DB
Dropboxer
The Dropbox API unfortunately doesn't offer a better way to do this, but I'll pass this along as a feature request.

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

Kloudless V.
New member | Level 2

Hi Greg. Have there been any updates on how to obtain the most recently modified files in a Dropbox account? I noticed the web UI supports a Recents view.

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

Greg-DB
Dropboxer

@Kloudless V. No, I don't have any updates on this feature request for exposing recent file information on the API.

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

ADC75011
New member | Level 2

Any news after all these years?

Thanks

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

Greg-DB
Dropboxer

@ADC75011 No, unfortunately I don't have any update on this request.

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

pcooperuk
Explorer | Level 3

Hi Greg,

 

Just been interfacing with Dropbox API and came across this as I am looking for the extact same 'give me recently updated only' from the API.

I have to admit I am shocked that this very basic feature, after 3 years is still not in the API, is Dropbox not a multi billion dollar company?

Is there a particular reason why this extremely important feature has not been implemented?

 

 

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

Greg-DB
Dropboxer

@pcooperuk Thanks for the feedback! I can't speak to why Dropbox hasn't chosen to implement any particular feature on the API, but I'll add your feedback to the feature request. 

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

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

Hi guys,

One way to workaround could be keep a list of cursors on regular basis and use the desired to enumerate latest (using /list_folder/continue). 😉

Hope this gives idea.

 

Add: Final solution could be Dropbox adds support of double directional lists. Currently API calls (like /list_folder or /list_folder/get_latest_cursor) returning cursors work only in enumeration of newer changes. Adding a boolean argument like 'reverse_direction' to arguments set of such calls could solve the issue permanently. 🙂

Re: How to get list of files recently modified within 24 hours through Dropbox API V2

pcooperuk
Explorer | Level 3

Thanks Здравко,

 

Will look into storing the cursor and fetching using continue. 

Who's talking

Top contributors to this post

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