cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App 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: 

Re: oRe: Created folder with share_folder and no params, do not appear as shared

Created folder with share_folder and no params, do not appear as shared

axew3
Collaborator | Level 8
Go to solution

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 ( :slightly_smiling_face: 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.

 

2 Accepted Solutions

Accepted Solutions

axew3
Collaborator | Level 8
Go to solution

perhaps create_shared_link_with_settings called after will resolve ...

View solution in original post

Greg-DB
Dropbox Staff
Go to solution

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.

View solution in original post

10 Replies 10

axew3
Collaborator | Level 8
Go to solution

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"

Rich
Super User II
Go to solution
Moved to the API forum.

axew3
Collaborator | Level 8
Go to solution
nothing 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.

axew3
Collaborator | Level 8
Go to solution

perhaps create_shared_link_with_settings called after will resolve ...

axew3
Collaborator | Level 8
Go to solution
it was ...

axew3
Collaborator | Level 8
Go to solution
p.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-DB
Dropbox Staff
Go to solution

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.

axew3
Collaborator | Level 8
Go to solution

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-DB
Dropbox Staff
Go to solution

"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:

 

https://www.dropbox.com/help/274

Need more support?