cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Ross uses Dropbox to answer some new house questions here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get information about user who uploaded a document

Get information about user who uploaded a document

VictorNemiro1
New member | Level 2

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.
Screenshot_4.png

1 Accepted Solution

Accepted Solutions

Re: Get information about user who uploaded a document

Greg-DB
Dropboxer

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.

View solution in original post

3 Replies 3

Re: Get information about user who uploaded a document

Greg-DB
Dropboxer

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. 

Re: Get information about user who uploaded a document

VictorNemiro1
New 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?

Re: Get information about user who uploaded a document

Greg-DB
Dropboxer

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.

View solution in original post

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    VictorNemiro1 New member | Level 2
What do Dropbox user levels mean?
Need more support?