We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

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.