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
deepsavani
2 months agoNew member | Level 2
Know uploaded by user of a file and folder
Hi,
I am developing an application where I need to know the user who uploaded particular file. I checked that dropbox UI has that information available and it fetches it from
https://www.dropbox.com/2/files/get_upload_info endpoint. This endpoint is not listed in dropbox API documentation. Also, response returned by it only contains displayName and uploadTime of the file which is not sufficient to uniquely identify the user. Is there any better API available to know uploaded by user of a file and folder?
- Greg-DBDropbox Staff
That endpoint is not part of the public API, so third party apps will not be able to use it. Instead, you can check the sharing_info.modified_by field for a FileMetadata, e.g., as returned by /2/files/get_metadata or /2/files/list_folder[/continue]. You can get the account information for that account using the account ID from that field by calling /2/users/get_account (or /2/users/get_account_batch).
- deepsavaniNew member | Level 2
Thanks for replying.
We definitely explored sharing_info.modified_by field but it points to the user who last modified the file/folder. But we are looking for the user who first created/uploaded the file. For the files where collaboration is happening, sharing_info.modified_by and the user who created/uploaded the file can easily differ.
Is there any public API which provides us information to know which user has first created/uploaded the file/folder? - deepsavaniNew member | Level 2
Thanks for replying.
We definitely explored sharing_info.modified_by field but it points to the user who last modified the file/folder. But we are looking for the user who first created/uploaded the file. For the files where collaboration is happening, sharing_info.modified_by and the user who created/uploaded the file can easily differ.
Is there any public API which provides us information to know which user has first created/uploaded the file/folder?- Greg-DBDropbox Staff
The public Dropbox API doesn't return information about which user originally created a particular file, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,889 PostsLatest Activity: 11 hours agoIf 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!