cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are doing a little maintenance on the Dropbox Community at the moment, so please bear with us. Apologies for any inconvenience caused.

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: 

List file members for files under Shared or Team folder

List file members for files under Shared or Team folder

vivek-qualys-ssc
Explorer | Level 4

I want to list all shared files and their members in dropbox account and find below to do that.

1. List all namespaces with API "/2/team/namespaces/list"
2. Iterate namespaces and make API call "/2/files/list_folder" to list files and folders associiated to that namespace
3. Namespaces which are associated with user's homepsace we get team_member_id also in list namespace API, this team_member_id I am using while listing file members with API "/2/sharing/list_file_members" file member API doesn't support Dropbox-API-Select-Admin(Whole Team) header that means we will have to pass team_member_id of the user who has permission to access that file in order to list file members.
4. So for files which are under shared folder or team folder how do I list file members as I don't know team_member_id who has permission to call that API before hand?

Any ways to solve this use case?

1 Reply 1

Re: List file members for files under Shared or Team folder

Greg-DB
Dropboxer

For any given shared/team folder, you can use /2/sharing/list_folder_members[/continue] to list who has access to it.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?