Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.

Forum Discussion

axew3's avatar
axew3
Collaborator | Level 8
9 years ago
Solved

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

  • axew3's avatar
    axew3
    Collaborator | Level 8
    9 years ago

    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"

  • axew3's avatar
    axew3
    Collaborator | Level 8
    9 years ago
    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's avatar
    axew3
    Collaborator | Level 8
    9 years ago

    perhaps create_shared_link_with_settings called after will resolve ...

  • axew3's avatar
    axew3
    Collaborator | Level 8
    9 years ago
    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's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    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's avatar
    axew3
    Collaborator | Level 8
    9 years ago

    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's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    "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

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,038 PostsLatest Activity: 3 years ago
415 Following

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!