<?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 A way to delayed webhooks or determine when a sync operation is completed? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/A-way-to-delayed-webhooks-or-determine-when-a-sync-operation-is/m-p/176282#M7024</link>
    <description>&lt;P&gt;I'm integrating Dropbox with &lt;A href="https://www.gotdone.me" target="_blank" rel="nofollow noreferrer"&gt;GotDone&lt;/A&gt;, the&amp;nbsp;time tracking assistant that helps you keep track of everything you've worked on automatically.&lt;/P&gt;
&lt;P&gt;I'm running into an issue with webhooks, particularly when sync operations take a&amp;nbsp;long time with&amp;nbsp;lots of changes are triggered.&lt;/P&gt;
&lt;P&gt;As an example, I'm deleting a single 'node_modules' folder (~15K files). Immediatly, Dropbox starts firing webhooks my way, for several minutes (&lt;A href="https://www.dropbox.com/s/tdwfvqz6o5qcjr6/Screenshot%202016-04-17%2008.48.24.png?dl=0" target="_blank" rel="nofollow noreferrer"&gt;screenshot&lt;/A&gt;&amp;nbsp;illustrates the problem).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Ideally, I'd like to wait until the sync operation completed before receiving any webhooks. Is that possible?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If not,&amp;nbsp;what is the best way for me to&amp;nbsp;determine when&amp;nbsp;the operation is complete on Dropbox' end?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:34:04 GMT</pubDate>
    <dc:creator>Timm S.</dc:creator>
    <dc:date>2019-05-29T09:34:04Z</dc:date>
    <item>
      <title>A way to delayed webhooks or determine when a sync operation is completed?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/A-way-to-delayed-webhooks-or-determine-when-a-sync-operation-is/m-p/176282#M7024</link>
      <description>&lt;P&gt;I'm integrating Dropbox with &lt;A href="https://www.gotdone.me" target="_blank" rel="nofollow noreferrer"&gt;GotDone&lt;/A&gt;, the&amp;nbsp;time tracking assistant that helps you keep track of everything you've worked on automatically.&lt;/P&gt;
&lt;P&gt;I'm running into an issue with webhooks, particularly when sync operations take a&amp;nbsp;long time with&amp;nbsp;lots of changes are triggered.&lt;/P&gt;
&lt;P&gt;As an example, I'm deleting a single 'node_modules' folder (~15K files). Immediatly, Dropbox starts firing webhooks my way, for several minutes (&lt;A href="https://www.dropbox.com/s/tdwfvqz6o5qcjr6/Screenshot%202016-04-17%2008.48.24.png?dl=0" target="_blank" rel="nofollow noreferrer"&gt;screenshot&lt;/A&gt;&amp;nbsp;illustrates the problem).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Ideally, I'd like to wait until the sync operation completed before receiving any webhooks. Is that possible?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If not,&amp;nbsp;what is the best way for me to&amp;nbsp;determine when&amp;nbsp;the operation is complete on Dropbox' end?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:34:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/A-way-to-delayed-webhooks-or-determine-when-a-sync-operation-is/m-p/176282#M7024</guid>
      <dc:creator>Timm S.</dc:creator>
      <dc:date>2019-05-29T09:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: A way to delayed webhooks or determine when a sync operation is completed?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/A-way-to-delayed-webhooks-or-determine-when-a-sync-operation-is/m-p/176283#M7025</link>
      <description>&lt;P&gt;The problem you really have is that Dropbox sees each separate file action as a "sync operation", hence you receiving a webhook event for each file being deleted - if you want to fudge a concept such as a transaction onto the way Dropbox works then you arent really going to have much luck Im afraid.&lt;/P&gt;
&lt;P&gt;You are going to have to determine a period of time which constitutes an "end of sync" which suits you, and just assume it that way when no more callbacks are fired within that period.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2016 23:55:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/A-way-to-delayed-webhooks-or-determine-when-a-sync-operation-is/m-p/176283#M7025</guid>
      <dc:creator>Richard P.</dc:creator>
      <dc:date>2016-04-17T23:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: A way to delayed webhooks or determine when a sync operation is completed?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/A-way-to-delayed-webhooks-or-determine-when-a-sync-operation-is/m-p/176284#M7026</link>
      <description>&lt;P&gt;Thanks for the input, Richard. That certainly wasn't what I was hoping for,&amp;nbsp;but it&amp;nbsp;makes sense based on my understanding of the API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm still very interested in possible workarounds or tips/tricks for dealing with this, in case&amp;nbsp;anyone else has input &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;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 23:28:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/A-way-to-delayed-webhooks-or-determine-when-a-sync-operation-is/m-p/176284#M7026</guid>
      <dc:creator>Timm S.</dc:creator>
      <dc:date>2016-04-18T23:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: A way to delayed webhooks or determine when a sync operation is completed?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/A-way-to-delayed-webhooks-or-determine-when-a-sync-operation-is/m-p/176285#M7027</link>
      <description>&lt;P&gt;Hi Timm, Richard's correct, the&amp;nbsp;Dropbox API doesn't exactly have a concept of a sync being "done". When the&amp;nbsp;Dropbox servers&amp;nbsp;receive a change, (e.g., a single file upload via a single API call) it just sends off a webhook notification to let you know about it.&amp;nbsp;Dropbox doesn't know if there are further changes coming, so it doesn't know to hold off on webhook notifications.&lt;/P&gt;
&lt;P&gt;If you want to batch things together on your side, I would also recommend you "debounce" the notifications like Richard described.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 01:07:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/A-way-to-delayed-webhooks-or-determine-when-a-sync-operation-is/m-p/176285#M7027</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-19T01:07:49Z</dc:date>
    </item>
  </channel>
</rss>

