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
vivek-qualys-ssc
4 years agoExplorer | Level 4
List file members for files under Shared or Team folder
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?
- Greg-DBDropbox Staff
For any given shared/team folder, you can use /2/sharing/list_folder_members[/continue] to list who has access to it.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,889 PostsLatest Activity: 5 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!