We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Info V.1
9 years agoCollaborator | Level 8
Owner of shared folder with V2 API
I'm having a hard time trying to figure out the owner of a shared folder. Our business app has the 'Team member file access' permission.
The /list_folder API, returns the parent_shared_folder_id in this form,
"parent_shared_folder_id": "dbsfid:AACaAsPOBxY9rbpj6-y635yDW0_GjuKM9c0",
I'm trying to figure out the owner of this folder. The v2 get_metadata, and get_folder_metadata does not return who the owner is.
The v1 /delta API returns the shared_folder_id in the following form
"parent_shared_folder_id": "1062669200"
With this ID, I can perform https://api.dropboxapi.com/1/shared_folders/<id> and get the owner. But we want use the V2 API's because of file ID's.
Is there any solution?
Thanks,
- Greg-DBDropbox Staff
You can use /sharing/list_folder_members and /sharing/list_folder_members/continue to get information about the members of a shared folder, including who is the owner.
I'll send this along as a feature request to return information about the owner directly from /sharing/get_folder_metadata though.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 years 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!