<?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 Does sharing_create_shared_link_with_settings create new link every time? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/286422#M17574</link>
    <description>&lt;P&gt;I am using python SDK and looking at 2 different methods:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1. sharing_create_shared_link&lt;BR /&gt;2. sharing_create_shared_link_with_setting&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;So from documentation I see that first method returns previously created shared link if it already exists, and creates it if it is not. Does the second method work the same, or it create a new link every time?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:11:34 GMT</pubDate>
    <dc:creator>vsipchenko</dc:creator>
    <dc:date>2019-05-29T09:11:34Z</dc:date>
    <item>
      <title>Does sharing_create_shared_link_with_settings create new link every time?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/286422#M17574</link>
      <description>&lt;P&gt;I am using python SDK and looking at 2 different methods:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1. sharing_create_shared_link&lt;BR /&gt;2. sharing_create_shared_link_with_setting&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;So from documentation I see that first method returns previously created shared link if it already exists, and creates it if it is not. Does the second method work the same, or it create a new link every time?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:11:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/286422#M17574</guid>
      <dc:creator>vsipchenko</dc:creator>
      <dc:date>2019-05-29T09:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Does sharing_create_shared_link_with_settings create new link every time?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/286467#M17579</link>
      <description>&lt;P&gt;No, &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.sharing_create_shared_link_with_settings" target="_blank"&gt;sharing_create_shared_link_with_settings&lt;/A&gt; does not work the same way. If you call it for a path for which there is already a shared link, it will give a &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.sharing.CreateSharedLinkWithSettingsError.shared_link_already_exists" target="_blank"&gt;CreateSharedLinkWithSettingsError.shared_link_already_exists&lt;/A&gt; error. In that case, you can call &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.sharing_list_shared_links" target="_blank"&gt;sharing_list_shared_links&lt;/A&gt; with direct_only=True to retrieve the existing link.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 14:40:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/286467#M17579</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-07-26T14:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Does sharing_create_shared_link_with_settings create new link every time?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/503733#M24922</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is it possible to emulate the behavior of the deprecated sharing_create_shared_link method where the existing shared link is returned by default instead of having to catch the error and make another api call to list the existing shared links?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 04:06:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/503733#M24922</guid>
      <dc:creator>kevin g.1</dc:creator>
      <dc:date>2021-03-11T04:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Does sharing_create_shared_link_with_settings create new link every time?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/503912#M24927</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/6824"&gt;@kevin g.1&lt;/a&gt;&amp;nbsp;It's not possible to recreate the&amp;nbsp;sharing_create_shared_link behavior with&amp;nbsp;&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; exactly, but in some cases the API will return the existing shared link metadata in the&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/sharing.html#dropbox.sharing.SharedLinkAlreadyExistsMetadata" target="_self"&gt;SharedLinkAlreadyExistsMetadata&lt;/A&gt; in the &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/sharing.html#dropbox.sharing.CreateSharedLinkWithSettingsError" target="_self"&gt;CreateSharedLinkWithSettingsError&lt;/A&gt;, which you can get via&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/sharing.html#dropbox.sharing.CreateSharedLinkWithSettingsError.get_shared_link_already_exists" target="_self"&gt;CreateSharedLinkWithSettingsError.get_shared_link_already_exists&lt;/A&gt;&amp;nbsp;to streamline the process. If not though, you do still need to make the extra API call.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 16:23:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/503912#M24927</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-11T16:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Does sharing_create_shared_link_with_settings create new link every time?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/503928#M24929</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks for the helpful response. Are those cases where the metadata isn't returned documented?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 16:40:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/503928#M24929</guid>
      <dc:creator>kevin g.1</dc:creator>
      <dc:date>2021-03-11T16:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Does sharing_create_shared_link_with_settings create new link every time?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/503931#M24930</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/6824"&gt;@kevin g.1&lt;/a&gt;&amp;nbsp;No, unfortunately the cases for when the existing shared link metadata will or will not be returned are not documented/guaranteed.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 16:45:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-sharing-create-shared-link-with-settings-create-new-link/m-p/503931#M24930</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-11T16:45:51Z</dc:date>
    </item>
  </channel>
</rss>

