<?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: Webhook to get the latest changes for each user in the notification in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-to-get-the-latest-changes-for-each-user-in-the/m-p/223255#M11988</link>
    <description>For /2/files/list_folder, the path is whatever path in the account you want to list. To list everything, you would use the empty string "" to identify root.&lt;BR /&gt;&lt;BR /&gt;For /2/files/list_folder/continue, the cursor is the last cursor your received from /2/files/list_folder or /2/files/list_folder/continue for that user. (You'll need to persist the cursor on your side, identified by the account ID.)</description>
    <pubDate>Sun, 28 May 2017 18:40:35 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-05-28T18:40:35Z</dc:date>
    <item>
      <title>Webhook to get the latest changes for each user in the notification</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-to-get-the-latest-changes-for-each-user-in-the/m-p/223173#M11978</link>
      <description>&lt;P&gt;I recived the body of notification as example listed below.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{
  list_folder: {
    accounts: ['dbid:AABRfEVfzNwPNP0tffaaZFQy...']
  },
  delta: {
    users: [1037..]
  }
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;However, I did not know how to access user changed file by &lt;A href="https://www.dropbox.com/developers/documentation/http#documentation-files-list_folder-continue" target="_blank"&gt;/files/list_folder/continue&lt;/A&gt;&amp;nbsp;or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/files/list_folder&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:22:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-to-get-the-latest-changes-for-each-user-in-the/m-p/223173#M11978</guid>
      <dc:creator>Jay-Chung</dc:creator>
      <dc:date>2019-05-29T09:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Webhook to get the latest changes for each user in the notification</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-to-get-the-latest-changes-for-each-user-in-the/m-p/223184#M11981</link>
      <description>&lt;P&gt;To keep track of changes in the accounts of the users linked to your app, you should start by calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&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;&amp;nbsp;as necessary, following the instructions in the documentation to get the full state of the account. With each call, you should store the latest returned "cursor". The cursors are user-specific, so you should stored them identified by&amp;nbsp;the user's account ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, each "dbid:..." string you receive in the webhook notification body is&amp;nbsp;the account ID of a user with changes in their account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should then call &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;&amp;nbsp;again with the latest cursor you have stored for that particular user, which will give you the new changes since the last call to&amp;nbsp;&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;.&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 21:47:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-to-get-the-latest-changes-for-each-user-in-the/m-p/223184#M11981</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-05-27T21:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Webhook to get the latest changes for each user in the notification</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-to-get-the-latest-changes-for-each-user-in-the/m-p/223220#M11985</link>
      <description>&lt;P&gt;Hello Greg:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. I studies the api document later. However, there was somthing still confused me.&lt;BR /&gt;The api&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self" rel="noopener noreferrer"&gt;/2/files/list_folder&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;needed &lt;STRONG&gt;path&amp;nbsp;&lt;/STRONG&gt;parameter and&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_self" rel="noopener noreferrer"&gt;/2/files/list_folder/continue&lt;/A&gt;&amp;nbsp;needed &lt;STRONG&gt;cursor&amp;nbsp;&lt;/STRONG&gt;parameter.&lt;BR /&gt;However, I did not know how to get them from the body of webhook notification which merely contained&amp;nbsp;&lt;STRONG&gt;account ID&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 May 2017 11:14:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-to-get-the-latest-changes-for-each-user-in-the/m-p/223220#M11985</guid>
      <dc:creator>Jay-Chung</dc:creator>
      <dc:date>2017-05-28T11:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Webhook to get the latest changes for each user in the notification</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-to-get-the-latest-changes-for-each-user-in-the/m-p/223255#M11988</link>
      <description>For /2/files/list_folder, the path is whatever path in the account you want to list. To list everything, you would use the empty string "" to identify root.&lt;BR /&gt;&lt;BR /&gt;For /2/files/list_folder/continue, the cursor is the last cursor your received from /2/files/list_folder or /2/files/list_folder/continue for that user. (You'll need to persist the cursor on your side, identified by the account ID.)</description>
      <pubDate>Sun, 28 May 2017 18:40:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-to-get-the-latest-changes-for-each-user-in-the/m-p/223255#M11988</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-05-28T18:40:35Z</dc:date>
    </item>
  </channel>
</rss>

