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
VictorNemiro1
5 years agoNew member | Level 2
Get information about user who uploaded a document
Hello. Could you help me please? How i can get the information about team member who uploaded a document and datetime of uploading? I can see he in the website but i did not find the API V2 that can help me with it.
You can retrieve a list of revisions to a particular file by calling /2/files/list_revisions. That will give you a list of FileMetadata for each change.
- Greg-DBDropbox Staff
You can find this information in the 'FileMetadata' object for the file. Specifically, FileMetadata.server_modified is the date/time when the file was last changed, and FileMetadata.sharing_info.modified_by contains the account ID for the user that last changed the file, if the file is in a shared folder.
You can get FileMetadata objects from a number of different endpoints on the API, such as /2/files/get_metadata or /2/files/list_folder[/continue]. You can get more information about an account for a particular account ID from /2/users/get_account.
Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.
- VictorNemiro1New member | Level 2
Thank you. But i will lose these information if somebody other will change the document. The fields that you described will be rewrite. How i can get information about a downloader after document changing?
- Greg-DBDropbox Staff
You can retrieve a list of revisions to a particular file by calling /2/files/list_revisions. That will give you a list of FileMetadata for each change.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,883 PostsLatest Activity: 19 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!