<?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 Cursor in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-Cursor/m-p/232803#M12697</link>
    <description>&lt;P&gt;A cursor is a string that keeps track of where you are in the history of the changes in the account. To list the contents of the folder, you call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;. You should store the latest cursor you get from the response, and continue calling back to &lt;A href="https://www.dropboxforum.com/2/files/list_folder/continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt;&amp;nbsp;if/when necessary. The documentation has more information on how to use that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox &lt;A href="https://www.dropbox.com/developers/reference/webhooks" target="_self"&gt;webhooks&lt;/A&gt; just tell you when something changed, so that you know when to call back&amp;nbsp;&lt;A href="https://www.dropboxforum.com/2/files/list_folder/continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt;&amp;nbsp;to find out what changed. You supply the cursor to&amp;nbsp;&lt;A href="https://www.dropboxforum.com/2/files/list_folder/continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt;&amp;nbsp;so that the&amp;nbsp;Dropbox API knows when you last called, so that it only needs to tell you about new changes since then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Java SDK, these methods correspond to &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolder-java.lang.String-" target="_self"&gt;listFolder&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderContinue-java.lang.String-" target="_self"&gt;listFolderContinue&lt;/A&gt;. There's a sample of using them in &lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/c6aeb4bf3011e6b803eaa325ea20a52f8412ee0f/examples/tutorial/src/main/java/com/dropbox/core/examples/tutorial/Main.java#L32" target="_self"&gt;the tutorial example&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2017 15:18:55 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-07-18T15:18:55Z</dc:date>
    <item>
      <title>Webhook Cursor</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-Cursor/m-p/232740#M12692</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I don't get what is a cursor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does Cursor on webhook?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is any example in java with a Cursor?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm making an app that just need to know the files that the users has in the application folder. I need webhook because i need to notify my application if there's a new file or deleted file, but I don't get what is a cursor and how does it work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:20:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-Cursor/m-p/232740#M12692</guid>
      <dc:creator>Lechucico</dc:creator>
      <dc:date>2019-05-29T09:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Webhook Cursor</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-Cursor/m-p/232803#M12697</link>
      <description>&lt;P&gt;A cursor is a string that keeps track of where you are in the history of the changes in the account. To list the contents of the folder, you call &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_self"&gt;/2/files/list_folder&lt;/A&gt;. You should store the latest cursor you get from the response, and continue calling back to &lt;A href="https://www.dropboxforum.com/2/files/list_folder/continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt;&amp;nbsp;if/when necessary. The documentation has more information on how to use that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox &lt;A href="https://www.dropbox.com/developers/reference/webhooks" target="_self"&gt;webhooks&lt;/A&gt; just tell you when something changed, so that you know when to call back&amp;nbsp;&lt;A href="https://www.dropboxforum.com/2/files/list_folder/continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt;&amp;nbsp;to find out what changed. You supply the cursor to&amp;nbsp;&lt;A href="https://www.dropboxforum.com/2/files/list_folder/continue" target="_self"&gt;/2/files/list_folder/continue&lt;/A&gt;&amp;nbsp;so that the&amp;nbsp;Dropbox API knows when you last called, so that it only needs to tell you about new changes since then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Java SDK, these methods correspond to &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolder-java.lang.String-" target="_self"&gt;listFolder&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listFolderContinue-java.lang.String-" target="_self"&gt;listFolderContinue&lt;/A&gt;. There's a sample of using them in &lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/c6aeb4bf3011e6b803eaa325ea20a52f8412ee0f/examples/tutorial/src/main/java/com/dropbox/core/examples/tutorial/Main.java#L32" target="_self"&gt;the tutorial example&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 15:18:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webhook-Cursor/m-p/232803#M12697</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-07-18T15:18:55Z</dc:date>
    </item>
  </channel>
</rss>

