Forum Discussion

rbsindhu90's avatar
rbsindhu90
Explorer | Level 3
8 years ago
Solved

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

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.

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

9 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    The Dropbox API unfortunately doesn't offer a better way to do this, but I'll pass this along as a feature request.
  • Kloudless V.'s avatar
    Kloudless V.
    New member | Level 2
    7 years ago

    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.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

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

  • ADC75011's avatar
    ADC75011
    New member | Level 2
    6 years ago

    Any news after all these years?

    Thanks

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

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

  • pcooperuk's avatar
    pcooperuk
    Explorer | Level 3
    5 years ago

    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?

     

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 years ago

    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. 

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    5 years ago

    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. 🙂

  • pcooperuk's avatar
    pcooperuk
    Explorer | Level 3
    5 years ago

    Thanks Здравко,

     

    Will look into storing the cursor and fetching using continue. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!