<?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: How to get last modified date for folders in Dropbox V2 API ? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-How-to-get-last-modified-date-for-folders-in-Dropbox-V2-API/m-p/392536#M21662</link>
    <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/50413"&gt;@Greg&lt;/a&gt;_K.&lt;/P&gt;
&lt;P&gt;This is making it very complex and, I think, requiring lots of unnecessary API calls.&lt;/P&gt;
&lt;P&gt;When a new folder is uploaded, I need to make a playlist from the mp3 files and share it.&lt;/P&gt;
&lt;P&gt;So I detect when the folder is likely to be "settled" by seeing if the most recent file is older than 5 minutes. At which point I run&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;sharingCreateSharedLinkWithSettings for each file to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;generate a playlist to save an API call each time.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;But what if an item gets added, removed or changed?&amp;nbsp;&lt;/SPAN&gt;There is no way of knowing which item, so I have to run the create link on all the items, each time, with&lt;/DIV&gt;
&lt;DIV&gt;result.url...&lt;/DIV&gt;
&lt;DIV&gt;or "catch" the error, and then look for result&lt;SPAN&gt;.error.error.shared_link_already_exists.metadata.url&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;To have&amp;nbsp;content_hash on folders would be amazing and save all those calls!&lt;/P&gt;
&lt;P&gt;(To have public-style folders back would be even more amazing!)&lt;/P&gt;
&lt;P&gt;Unless I am missing a trick here?&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2020 17:05:32 GMT</pubDate>
    <dc:creator>Jonathan H.2</dc:creator>
    <dc:date>2020-01-27T17:05:32Z</dc:date>
    <item>
      <title>Re: How to get last modified date for folders in Dropbox V2 API ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-How-to-get-last-modified-date-for-folders-in-Dropbox-V2-API/m-p/392536#M21662</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/50413"&gt;@Greg&lt;/a&gt;_K.&lt;/P&gt;
&lt;P&gt;This is making it very complex and, I think, requiring lots of unnecessary API calls.&lt;/P&gt;
&lt;P&gt;When a new folder is uploaded, I need to make a playlist from the mp3 files and share it.&lt;/P&gt;
&lt;P&gt;So I detect when the folder is likely to be "settled" by seeing if the most recent file is older than 5 minutes. At which point I run&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;sharingCreateSharedLinkWithSettings for each file to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;generate a playlist to save an API call each time.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;But what if an item gets added, removed or changed?&amp;nbsp;&lt;/SPAN&gt;There is no way of knowing which item, so I have to run the create link on all the items, each time, with&lt;/DIV&gt;
&lt;DIV&gt;result.url...&lt;/DIV&gt;
&lt;DIV&gt;or "catch" the error, and then look for result&lt;SPAN&gt;.error.error.shared_link_already_exists.metadata.url&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;To have&amp;nbsp;content_hash on folders would be amazing and save all those calls!&lt;/P&gt;
&lt;P&gt;(To have public-style folders back would be even more amazing!)&lt;/P&gt;
&lt;P&gt;Unless I am missing a trick here?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 17:05:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-How-to-get-last-modified-date-for-folders-in-Dropbox-V2-API/m-p/392536#M21662</guid>
      <dc:creator>Jonathan H.2</dc:creator>
      <dc:date>2020-01-27T17:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get last modified date for folders in Dropbox V2 API ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-How-to-get-last-modified-date-for-folders-in-Dropbox-V2-API/m-p/392675#M21663</link>
      <description>&lt;P&gt;To monitor changes on a folder like this, I&amp;nbsp;recommend using the cursor functionality offered by&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/continue&lt;/A&gt;]. You can store the latest returned 'cursor' from any&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/continue&lt;/A&gt;] result, and then later call back to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt; to get information about only what's changed since you last called. That way you don't have to process&amp;nbsp;everything over again.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 16:56:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-How-to-get-last-modified-date-for-folders-in-Dropbox-V2-API/m-p/392675#M21663</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-01-27T16:56:25Z</dc:date>
    </item>
  </channel>
</rss>

