cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're looking to hear about your experience when using Dropbox in a web browser. What parts of Dropbox feels very slow to you and takes a lot of time to get done? What are you trying to do in the Dropbox web browser when you experience slowness? Tell us right 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: 
1
Ask
2
Comments

Python API - Find out who uploaded file to shared folder

Python API - Find out who uploaded file to shared folder

Jackaroo
Explorer | Level 3

Hi,

 

I've been looking through the documentation for the python API but I'm unable to find a function that will allow me to find out who uploaded a file to a shared folder. Does anyone know if it's possible to do this? I am able to see who uploads a file on the dropbox dashboard in a browser, so I assume this functionality must be here somewhere.. Any help greatly appreciated :slight_smile: Thanks!

1 Accepted Solution

Accepted Solutions

Re: Python API - Find out who uploaded file to shared folder

Greg-DB
Dropboxer

You can get the account ID of the account that last uploaded the file in FileSharingInfo.modified_by. For instance, you can get that from FileMetadata.sharing_info as returned by files_get_metadata or files_list_folder/files_list_folder_continue.

 

You can get more information about a particular account based on an account ID using users_get_account.

View solution in original post

2 Replies 2

Re: Python API - Find out who uploaded file to shared folder

Greg-DB
Dropboxer

You can get the account ID of the account that last uploaded the file in FileSharingInfo.modified_by. For instance, you can get that from FileMetadata.sharing_info as returned by files_get_metadata or files_list_folder/files_list_folder_continue.

 

You can get more information about a particular account based on an account ID using users_get_account.

Re: Python API - Find out who uploaded file to shared folder

Jackaroo
Explorer | Level 3

Hi Greg,

 

Apologies I didn't respond sooner. I got this working with your help! Thank you :grinning: I'm not sure how I missed this when looking through the documentation...

Who's talking

Top contributors to this post

  • User avatar
    Jackaroo Explorer | Level 3
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?