You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

dhruvin's avatar
dhruvin
Explorer | Level 4
2 years ago

List Created Files After given Using API

Hi,

I want to list files that are created after a given date. I want to do this using API. There isn't any creation date for files and folders. Any other way to do this?

Also, another query,

under .tag = deleted, we receive files and folders which have been deleted. But we can't separate or identify whether a deleted item is a file or folder.

 

{ 
    ".tag": "deleted",
    "name": "Gofiles",
    "path_lower": "/documents/gofiles",
    "path_display": "/Documents/Gofiles"
}

 


 It only gives file or folder name and path. I also want to know whether it's a file or a folder.

  • Unfortunately, the Dropbox API doesn't offer a way to list/filter files/folders created only since a specific date nor a way to retrieve the original creation date, but I'll pass these along as feature requests. I can't promise if or when they might be implemented though.

     

    The API doesn't distinguish between files and folders in deleted entries, but I'll be sure to pass this along as a feature request as well. For reference though, a deleted entry just indicates that whatever was at that path was deleted, and at different points in time, a single path could have been either a file and folder. You may want to refer to whatever previous metadata you received for that path to see what was there, and/or call /2/files/list_revisions to see what was previously there.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Unfortunately, the Dropbox API doesn't offer a way to list/filter files/folders created only since a specific date nor a way to retrieve the original creation date, but I'll pass these along as feature requests. I can't promise if or when they might be implemented though.

     

    The API doesn't distinguish between files and folders in deleted entries, but I'll be sure to pass this along as a feature request as well. For reference though, a deleted entry just indicates that whatever was at that path was deleted, and at different points in time, a single path could have been either a file and folder. You may want to refer to whatever previous metadata you received for that path to see what was there, and/or call /2/files/list_revisions to see what was previously there.

    • dhruvin's avatar
      dhruvin
      Explorer | Level 4

      One more thing,

       

      Dropbox business account has a log functionality. (Logs for files - added, edited, deleted, moved etc). We can fetch these details via API for Dropbox business account. Isn't it possible to do the same in personal account?
      If personal account provides logs functionality, then I can use it to get list of created, edited, deleted and moved files. 

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

795 PostsLatest Activity: 7 days ago
193 Following

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 or Facebook.

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!