<?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: web hook handling in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/320828#M18901</link>
    <description>&lt;P&gt;Using&amp;nbsp;ListFolderAsync and&amp;nbsp;ListFolderContinueAsync is the right way to list the contents of a folder. Are you saying that both of those calls aren't returning any entries? Make sure you list out the entries of both calls; if there aren't many items in the folder, the entire list may only be returned to the first call to&amp;nbsp;ListFolderAsync.&lt;/P&gt;
&lt;P&gt;In either case though, you can store the latest cursor for the user. When you then get a webhook notification, you can use that cursor with&amp;nbsp;ListFolderContinueAsync to get information on only what changed since then. Note that you don't need to call&amp;nbsp;ListFolderAsync again in this scenario.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jan 2019 15:55:37 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-01-02T15:55:37Z</dc:date>
    <item>
      <title>web hook handling</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/320661#M18897</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;when a chnage happend i recived a notification.&lt;/P&gt;&lt;P&gt;at first as i know i need to return 200 to verify the notification recived.&lt;/P&gt;&lt;P&gt;then when i make a nother change i am calling&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var res22 = client.AsMember(null).Files.ListFolderAsync("");&lt;/P&gt;&lt;P&gt;and get the cursor and then calling&amp;nbsp; to&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;var res = client.AsMember(null).Files.ListFolderContinueAsync(res2.Result.Cursor);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i also tried to call&lt;/P&gt;&lt;P&gt;var res2 = client.AsMember(null).Files.ListFolderGetLatestCursorAsync("");&lt;/P&gt;&lt;P&gt;and then to&amp;nbsp;&lt;/P&gt;&lt;P&gt;var res4 = client.AsMember(null).Files.ListFolderContinueAsync(res22.Result.Cursor);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and no error recived but also no chnage recived .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to i get the actual&amp;nbsp; changed&amp;nbsp; data&amp;nbsp; file/folder ?&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:08:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/320661#M18897</guid>
      <dc:creator>dolphin_cloudsf</dc:creator>
      <dc:date>2019-05-29T09:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: web hook handling</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/320828#M18901</link>
      <description>&lt;P&gt;Using&amp;nbsp;ListFolderAsync and&amp;nbsp;ListFolderContinueAsync is the right way to list the contents of a folder. Are you saying that both of those calls aren't returning any entries? Make sure you list out the entries of both calls; if there aren't many items in the folder, the entire list may only be returned to the first call to&amp;nbsp;ListFolderAsync.&lt;/P&gt;
&lt;P&gt;In either case though, you can store the latest cursor for the user. When you then get a webhook notification, you can use that cursor with&amp;nbsp;ListFolderContinueAsync to get information on only what changed since then. Note that you don't need to call&amp;nbsp;ListFolderAsync again in this scenario.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 15:55:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/320828#M18901</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-01-02T15:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: web hook handling</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/321092#M18909</link>
      <description>&lt;P&gt;Hi Greg ,&lt;/P&gt;&lt;P&gt;for your questions:&lt;BR /&gt;- nothing returnning any entries &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@B0F70D28791EB05FA3EA0C3BDDF08EE3/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to verify i am doing all thinks right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. when i get a notification i need to return an answer with status of 200 in 10 sec.&lt;/P&gt;&lt;P&gt;then i am doing another change in dropbox and i am calling :&lt;BR /&gt;var res2 = client.AsMember(null).Files.ListFolderGetLatestCursorAsync("");&lt;/P&gt;&lt;P&gt;and then to&lt;/P&gt;&lt;P&gt;var res4 = client.AsMember(null).Files.ListFolderContinueAsync(res22.Result.Cursor);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no result of changes .file or folder.&lt;/P&gt;&lt;P&gt;questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- what is the maxsimum time that i have to call the listFolderContinue to get the changes.&lt;/P&gt;&lt;P&gt;- how do i know i am using the right Cursor?&lt;/P&gt;&lt;P&gt;if i am calling (.ListFolderGetLatestCursorAsync) - is that OK?&lt;/P&gt;&lt;P&gt;do you have some sample code in C# that maybe i can test it .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i really need to get it to work .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks from advance&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 08:05:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/321092#M18909</guid>
      <dc:creator>dolphin_cloudsf</dc:creator>
      <dc:date>2019-01-03T08:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: web hook handling</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/321136#M18911</link>
      <description>&lt;P&gt;Thnak you greg for your help -&amp;nbsp;&lt;/P&gt;&lt;P&gt;ok greg i manage to get the changes from dropbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but now i have another question if i can :).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. when i renmae a file i get 2&amp;nbsp;notifications&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;- deleted metadata&lt;/P&gt;&lt;P&gt;&amp;nbsp; - file Metadata&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;questions:&lt;/P&gt;&lt;P&gt;1. how do i know the relations between the two?&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; if i am getting two file renamed - so actually i get 2 notification for&amp;nbsp;&lt;SPAN&gt;deleted metadata and 2 notifications for file metadata .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i do i know who belong to who?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; in the object there are to&amp;nbsp;objects (as deleted , as file ) that are both recursice and looping . so if i want to serelize the object it is not possible . i am using nuget version 4.7.0 - is this issue fix later on ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hope you can help me as soon as possible&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;is there any chnage we can continue this by email ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;waiting for your input&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 13:03:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/321136#M18911</guid>
      <dc:creator>dolphin_cloudsf</dc:creator>
      <dc:date>2019-01-03T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: web hook handling</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/321178#M18915</link>
      <description>&lt;P&gt;1.&amp;nbsp;When you&amp;nbsp;receive a &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_DeletedMetadata.htm" target="_blank"&gt;DeletedMetadata&lt;/A&gt;, it will contain a&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Files_Metadata_PathLower.htm" target="_blank"&gt;PathLower&lt;/A&gt; value. That's the path at which the item used to exist.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should look up that entry in whatever local state you're maintaing and remove it.&lt;/P&gt;
&lt;P&gt;When you&amp;nbsp;receive a&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_FileMetadata.htm" target="_blank"&gt;FileMetadata&lt;/A&gt;, it will contain an &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Files_FileMetadata_Id.htm" target="_blank"&gt;Id&lt;/A&gt; value. You can compare that to previous entries that you had to see if it was moved/renamed from another location.&lt;/P&gt;
&lt;P&gt;2. File IDs are unique, so as above, you can use them to identify different files across move/rename operations.&lt;/P&gt;
&lt;P&gt;3. I'm not sure I understand this question. Can you clarify?&lt;/P&gt;
&lt;P&gt;If you would prefer to get API support privately over email, you can &lt;A href="https://www.dropbox.com/developers/contact" target="_blank"&gt;open an API ticket here&lt;/A&gt; instead.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 16:03:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/web-hook-handling/m-p/321178#M18915</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-01-03T16:03:20Z</dc:date>
    </item>
  </channel>
</rss>

