Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
axew3
9 years agoCollaborator | Level 8
Created folder with share_folder and no params, do not appear as shared
I create a folder with a curl share_folder call and no params except path: it create correctly, but it do not result as shared, even if the icon return folder with two little men inside ( :) hope is +- clear what i mean) on dropbox.
I should add some parameter or recall some more endpoint, to get it shared? I see with no param on api online tests, it create and immediately the folder appear instead as shared.
just an hint for a short, that's why ... what i've forget?
Thank you.
perhaps create_shared_link_with_settings called after will resolve ...
Calling /sharing/share_folder with just a path parameter does create a shared folder. I just tested it and it is working for me. The icon with two people on it that you mentioned does indicate that the folder is shared.
There are two things that may cause some confusion though:
1) In some cases, the share operation may be done asynchronously. The documentation has more information on that, including how to check on the job if so.
2) Even though the folder is "shared", it doesn't automatically grant access to anyone else. You need to add other members using /sharing/add_folder_member.
10 Replies
- axew39 years agoCollaborator | Level 8
i've edit the messy question done before, sorry my bad Eng.
p.s maybe i will try to add if this will solve
"shared_link_policy": "anyone"
- Rich9 years ago
Super User II
Moved to the API forum. - axew39 years agoCollaborator | Level 8nothing even if i set tag to anyone for
member_policy and shared_link_policy:
the folder as above result correctly created with little figures inside, but not shared. - axew39 years agoCollaborator | Level 8
perhaps create_shared_link_with_settings called after will resolve ...
- axew39 years agoCollaborator | Level 8it was ...
- axew39 years agoCollaborator | Level 8p.s in true i've not understand if a call to share_folder that create a folder, with all params as above, should not or yes return immediately the folder as shared: maybe i've confuse something before on testing api calls.
- Greg-DB9 years ago
Dropbox Community Moderator
Calling /sharing/share_folder with just a path parameter does create a shared folder. I just tested it and it is working for me. The icon with two people on it that you mentioned does indicate that the folder is shared.
There are two things that may cause some confusion though:
1) In some cases, the share operation may be done asynchronously. The documentation has more information on that, including how to check on the job if so.
2) Even though the folder is "shared", it doesn't automatically grant access to anyone else. You need to add other members using /sharing/add_folder_member.
- axew39 years agoCollaborator | Level 8
Hello:
"the icon with two people on it that you mentioned does indicate that the folder is shared."
if i call list_shared_links, it will not be included on results.
I have to call modify_shared_link_settings to get it immediately available on list_shared_links call.
Think i need to understand better how all about teams, members, permissions, etc - Greg-DB9 years ago
Dropbox Community Moderator
"Shared links" and "shared folders" are different forms of sharing. Calling /share_folder for a folder doesn't create a shared link for it. You can find more information here:
- axew39 years agoCollaborator | Level 8Thank you Greg!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,038 PostsLatest Activity: 3 years ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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!