<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: File sharing with dbx.sharing_create_shared_link in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-sharing-with-dbx-sharing-create-shared-link/m-p/523074#M25449</link>
    <description>&lt;P&gt;First, note that sharing_create_shared_link is deprecated in favor of &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_create_shared_link_with_settings" target="_self"&gt;sharing_create_shared_link_with_settings&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this use case, it sounds like you may want to create the link like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;dbx.sharing_create_shared_link_with_settings(path=path, settings=dropbox.sharing.SharedLinkSettings(audience=dropbox.sharing.LinkAudience.no_one))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "no_one" audience means that the link itself does not grant access; the user would need to have access to the file already, e.g., via the parent shared folder.&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 18:37:42 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-05-27T18:37:42Z</dc:date>
    <item>
      <title>File sharing with dbx.sharing_create_shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-sharing-with-dbx-sharing-create-shared-link/m-p/522913#M25445</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create a sharable link for files in shared folders with visibility control, using Dropbox API&lt;/P&gt;
&lt;P&gt;the code I use is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;shared_link_metadata = dbx.sharing_create_shared_link("/2. Info/02. GEC-W2B-BMD-GEC-003642-20190127_Weekly Commodity Tracker_P227_TemplateR5.xlsx")&lt;BR /&gt;shared_link_metadata.url&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with this I can get the sharable link with public visibility, However i want to generate links that are only visible to the user with access to the shared folder.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 17:16:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-sharing-with-dbx-sharing-create-shared-link/m-p/522913#M25445</guid>
      <dc:creator>venkate</dc:creator>
      <dc:date>2021-06-01T17:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: File sharing with dbx.sharing_create_shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-sharing-with-dbx-sharing-create-shared-link/m-p/523074#M25449</link>
      <description>&lt;P&gt;First, note that sharing_create_shared_link is deprecated in favor of &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_create_shared_link_with_settings" target="_self"&gt;sharing_create_shared_link_with_settings&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this use case, it sounds like you may want to create the link like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;dbx.sharing_create_shared_link_with_settings(path=path, settings=dropbox.sharing.SharedLinkSettings(audience=dropbox.sharing.LinkAudience.no_one))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "no_one" audience means that the link itself does not grant access; the user would need to have access to the file already, e.g., via the parent shared folder.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 18:37:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-sharing-with-dbx-sharing-create-shared-link/m-p/523074#M25449</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-05-27T18:37:42Z</dc:date>
    </item>
  </channel>
</rss>

