<?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: Api v1 - can I create Permanent Direct Url ? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181362#M7463</link>
    <description>&lt;P&gt;HI Maulik, it sounds like you could use the shared links modifications I mentioned in my last reply:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/help/201" rel="nofollow noreferrer"&gt;https://www.dropbox.com/help/201&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And if you're using API v1 to get the shared links in the first place, you can set&amp;nbsp;short_url to false to avoid the short links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers-v1/core/docs#shares" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers-v1/core/docs#shares&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2016 00:24:10 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-05-11T00:24:10Z</dc:date>
    <item>
      <title>Api v1 - can I create Permanent Direct Url ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181358#M7459</link>
      <description>&lt;P&gt;Hi Dropbox community,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my application, I am caching a list of internal objects which represent a list of excel files in dropbox. For each internal object I am generating a temporary direct url using api v1. I've read in a different post, that this url experies after 4 hours [&lt;A href="https://www.dropboxforum.com/hc/en-us/community/posts/204324265-I-m-saving-a-file-url-by-using-dropin-api-after-a-while-that-url-starts-to-give-401-" rel="nofollow noreferrer" target="_blank"&gt;https://www.dropboxforum.com/hc/en-us/community/posts/204324265-I-m-saving-a-file-url-by-using-dropin-api-after-a-while-that-url-starts-to-give-401-&lt;/A&gt;]. \&lt;/P&gt;
&lt;P&gt;Is there a way to generate a permanent &lt;STRONG&gt;download&lt;/STRONG&gt; link ? What other options do I have via dropbox api ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, my option would be to set up a 4 hour recurring task, that refreshes my&amp;nbsp;cache, in order to generate a new functional download links for my endusers. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-victor&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:33:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181358#M7459</guid>
      <dc:creator>Victor V.3</dc:creator>
      <dc:date>2019-05-29T09:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Api v1 - can I create Permanent Direct Url ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181359#M7460</link>
      <description>&lt;P&gt;The&amp;nbsp;Dropbox API doesn't currently offer a way to generate permanent direct links like that,&amp;nbsp;but I'll be sure to pass this along as a feature request.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What exactly do you need it for? If you just need to download file content, the normal download endpoints are the best option:&lt;/P&gt;
&lt;P&gt;v1: &lt;A href="https://www.dropbox.com/developers-v1/core/docs#files-GET" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers-v1/core/docs#files-GET&lt;/A&gt;&lt;BR /&gt;v2: &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-download&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Those return the data directly though, not via a URL.&lt;/P&gt;
&lt;P&gt;If you really need links, the only current workaround is to use a shared link:&lt;/P&gt;
&lt;P&gt;v1: &lt;A href="https://www.dropbox.com/developers-v1/core/docs#shares" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers-v1/core/docs#shares&lt;/A&gt;&lt;BR /&gt;v2: &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Those don't offer direct file access by default, but can be &lt;A href="https://www.dropbox.com/help/201" target="_blank" rel="nofollow noreferrer"&gt;modified as necessary&lt;/A&gt;. This isn't recommended though, as these links are listed to the user on&amp;nbsp;&lt;A href="https://www.dropbox.com/links" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/links&lt;/A&gt; which may confuse them as to why they exist. These links are also subject to &lt;A href="https://www.dropbox.com/help/4204" target="_blank" rel="nofollow noreferrer"&gt;bandwidth limits&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 01:09:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181359#M7460</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-05-06T01:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Api v1 - can I create Permanent Direct Url ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181360#M7461</link>
      <description>&lt;P&gt;Hi Gregory,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for your answer and sorry for replying late.&lt;/P&gt;
&lt;P&gt;A common use case for my internal app&amp;nbsp;would be to generate a new file and upload it to dropbox via the api v1. For the end users of my app, this file would be represented as a report, which&amp;nbsp;they would possible want to download through our own UI. The download url would have been set at creation time,&amp;nbsp;when uploading the file, whereas the download could occur a week later for example, or never &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; . However, this is not a problem. Now that I know about the 4 hour limit, I can generate the download url on demand, when the&amp;nbsp;user&amp;nbsp;needs to download the file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-victor&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 16:18:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181360#M7461</guid>
      <dc:creator>Victor V.3</dc:creator>
      <dc:date>2016-05-09T16:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Api v1 - can I create Permanent Direct Url ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181361#M7462</link>
      <description>&lt;P&gt;Hello, I uploaded images on dropbox using api v1.&lt;/P&gt;
&lt;P&gt;but i need to view that images on my website for gallery.&lt;/P&gt;
&lt;P&gt;I get image url but it redirect to dropbox but i need to view that image in lightbox jquery plugin.&lt;/P&gt;
&lt;P&gt;lightbox jquery plugin not able to get image using short url of dropbox api.&lt;/P&gt;
&lt;P&gt;Please give me solution for my problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Maulik&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 19:10:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181361#M7462</guid>
      <dc:creator>Maulik P.</dc:creator>
      <dc:date>2016-05-10T19:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Api v1 - can I create Permanent Direct Url ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181362#M7463</link>
      <description>&lt;P&gt;HI Maulik, it sounds like you could use the shared links modifications I mentioned in my last reply:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/help/201" rel="nofollow noreferrer"&gt;https://www.dropbox.com/help/201&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And if you're using API v1 to get the shared links in the first place, you can set&amp;nbsp;short_url to false to avoid the short links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers-v1/core/docs#shares" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers-v1/core/docs#shares&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 00:24:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181362#M7463</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-05-11T00:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Api v1 - can I create Permanent Direct Url ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181363#M7464</link>
      <description>&lt;P&gt;Thank you Gregory for your valuable&amp;nbsp; response.&lt;/P&gt;
&lt;P&gt;It helpful for me.&lt;/P&gt;
&lt;P&gt;Thank you again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 19:11:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-v1-can-I-create-Permanent-Direct-Url/m-p/181363#M7464</guid>
      <dc:creator>Maulik P.</dc:creator>
      <dc:date>2016-05-11T19:11:57Z</dc:date>
    </item>
  </channel>
</rss>

