<?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: Node/JS SDK - /get_temporary_link in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579572#M27045</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1520387"&gt;@AlecF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Which brings me to another question, what is the &lt;EM&gt;&lt;STRONG&gt;format&lt;/STRONG&gt; &lt;/EM&gt;of the timestamp string ?&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Take a look on &lt;A title="create_shared_link_with_settings" href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings" target="_blank" rel="noopener"&gt;2/sharing/create_shared_link_with_settings&lt;/A&gt; (in parameters section):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;...&lt;BR /&gt;settings SharedLinkSettings? The requested settings for the newly created shared link. This field is optional.&lt;BR /&gt;&lt;P class="lia-indent-padding-left-30px"&gt;SharedLinkSettings&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;require_password Boolean? Boolean flag to enable or disable password protection. This field is optional.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;link_password String? If require_password is true, this is needed to specify the password to access the link. This field is optional.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;expires Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? Expiration time of the shared link. By default the link won't expire. This field is optional.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;...&lt;/P&gt;...&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Feb 2022 14:21:42 GMT</pubDate>
    <dc:creator>Здравко</dc:creator>
    <dc:date>2022-02-22T14:21:42Z</dc:date>
    <item>
      <title>Node/JS SDK - /get_temporary_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579216#M27032</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;getting started w/ Dropbox and have a couple of questions re /get_temporary_link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1) I saw that the Java SDK has a direct method for `.get_temporary_link()`, see &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#getTemporaryLink-java.lang.String-" target="_self"&gt;here&lt;/A&gt; , but I cannot find the equivalent in the Node/JS SDK... is it missing ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(2) is it possible to reduce the lifetime of a temp link (via SDK, HTTP API or global setting) ? I believe the default is 4 hours, is there any chance to bring it down to like 10 mins ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 12:00:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579216#M27032</guid>
      <dc:creator>AlecF</dc:creator>
      <dc:date>2022-02-21T12:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Node/JS SDK - /get_temporary_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579242#M27034</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1520387"&gt;@AlecF&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;To find the function you are looking for, take a look &lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 08:50:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579242#M27034</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-02-21T08:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Node/JS SDK - /get_temporary_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579252#M27037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790" target="_self"&gt;Здравко&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;thanks for that, I see that the function is called&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.filesGetTemporaryLink(arg)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the Node SDK...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But re my question (2), I assume in order to set a custom TTL, I'd rather have to use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sharingCreateSharedLinkWithSettings(arg)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then specify a custom value in &lt;STRONG&gt;expires&lt;/STRONG&gt;&amp;nbsp;parameter ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which brings me to another question, what is the &lt;EM&gt;&lt;STRONG&gt;format&lt;/STRONG&gt; &lt;/EM&gt;of the timestamp string ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The definition for Timestamp listed &lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#Timestamp__anchor" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;simply says "string", which could mean anything...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 09:38:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579252#M27037</guid>
      <dc:creator>AlecF</dc:creator>
      <dc:date>2022-02-21T09:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Node/JS SDK - /get_temporary_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579572#M27045</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1520387"&gt;@AlecF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Which brings me to another question, what is the &lt;EM&gt;&lt;STRONG&gt;format&lt;/STRONG&gt; &lt;/EM&gt;of the timestamp string ?&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Take a look on &lt;A title="create_shared_link_with_settings" href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings" target="_blank" rel="noopener"&gt;2/sharing/create_shared_link_with_settings&lt;/A&gt; (in parameters section):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;...&lt;BR /&gt;settings SharedLinkSettings? The requested settings for the newly created shared link. This field is optional.&lt;BR /&gt;&lt;P class="lia-indent-padding-left-30px"&gt;SharedLinkSettings&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;require_password Boolean? Boolean flag to enable or disable password protection. This field is optional.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;link_password String? If require_password is true, this is needed to specify the password to access the link. This field is optional.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;expires Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? Expiration time of the shared link. By default the link won't expire. This field is optional.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;...&lt;/P&gt;...&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 14:21:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579572#M27045</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-02-22T14:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Node/JS SDK - /get_temporary_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579573#M27046</link>
      <description>&lt;P&gt;(1) That's correct, in particular, it's &lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesGetTemporaryLink__anchor" target="_self"&gt;the filesGetTemporaryLink method&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(2) The Dropbox API doesn't offer a way to customize the lifetime of temporary links from &lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesGetTemporaryLink__anchor" target="_self"&gt;filesGetTemporaryLink&lt;/A&gt; in particular, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. As you found, you can instead use &lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#sharingCreateSharedLinkWithSettings__anchor" target="_self"&gt;sharingCreateSharedLinkWithSettings&lt;/A&gt; to create shared links with optional arbitrary expiration, as long as &lt;A href="https://help.dropbox.com/files-folders/share/link-expiration" target="_self"&gt;the account has access to that feature&lt;/A&gt;. The &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#date-format" target="_self"&gt;Dropbox API uses the ISO 8601 "combined date and time representation" format for timestamps&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 14:22:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579573#M27046</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-22T14:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Node/JS SDK - /get_temporary_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579698#M27052</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks !!!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 05:17:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Node-JS-SDK-get-temporary-link/m-p/579698#M27052</guid>
      <dc:creator>AlecF</dc:creator>
      <dc:date>2022-02-23T05:17:07Z</dc:date>
    </item>
  </channel>
</rss>

