<?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: /list_folder/get_latest_cursor -&amp;gt; shared_link in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626167#M28955</link>
    <description>&lt;P&gt;No, no... Definitely not. Cursor doesn't expire. Just check why you have it lost (if you lost it, why you have doubts it expires 🧐)! Only this will let you fix the issue and avoid further "incidents". &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; You may have some weaknesses in your application algorithm. Check this too.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 12:49:07 GMT</pubDate>
    <dc:creator>Здравко</dc:creator>
    <dc:date>2022-09-30T12:49:07Z</dc:date>
    <item>
      <title>/list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/625837#M28933</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Hello, I noticed that for get_latest_cursor you can add a shared_link parameter.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;If I understand the documentation correctly, this parameter allows you to get the cursor for a file whose name is contained in the url.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;However, I have a problem with creating json with parameters in which there is a shared_link parameter.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;How such json should look like?&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;is this right?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;"path": "/ SZOtestowe",&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;"shared_link": {"url": "&lt;A href="https://www.dropbox.com/s/t7a0cbikc4s318i/orze%C5%82-2.jpg?dl=0" target="_blank" rel="noopener"&gt;https://www.dropbox.com/s/t7a0cbikc4s318i/orze%C5%82-2.jpg?dl=0&lt;/A&gt;", "password": ""}&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 13:09:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/625837#M28933</guid>
      <dc:creator>maxior1234</dc:creator>
      <dc:date>2022-09-29T13:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/625911#M28937</link>
      <description>&lt;P&gt;I see you're referring to using &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-get_latest_cursor" target="_blank"&gt;the /2/files/list_folder/get_latest_cursor endpoint&lt;/A&gt;. That endpoint allows you to get a cursor for listing a folder. That allows you to specify either a path in the connected account, or a shared link for a folder and optionally a path relative to that folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The structure of your JSON looks fine for the latter case, but I do see two issues with the values:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;your shared link appears to be for a file, not a folder; this endpoint is for listing the contents of folders, so supplying a shared link for a file won't work&lt;/LI&gt;
&lt;LI&gt;you have an empty "password" field; I don't know if you just redacted it for the sake of posting this, but if there isn't a password for the shared link, you don't need to set the "password" field at all&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;By the way, &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#files_list_folder/get_latest_cursor" target="_blank"&gt;the API v2 Explorer&lt;/A&gt; can helpful for constructing and testing calls like this. Click the "Show Code" button to see the constructed code.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 13:36:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/625911#M28937</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-29T13:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/625914#M28938</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1522589"&gt;@maxior1234&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;If I understand the documentation correctly, this parameter allows you to get the cursor for a file whose name is contained in the url. &lt;/SPAN&gt;&lt;/SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1522589"&gt;@maxior1234&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;No, &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; You don't understand correctly. Such cursors, received from wherever (including from &lt;A title="A way to quickly get a cursor for the folder's state" href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-get_latest_cursor" target="_blank" rel="noopener"&gt;/2/files/list_folder/get_latest_cursor&lt;/A&gt;), target to a folder, not a file!!! They represent current enumeration state. How you "understand" particular single file enumeration (file pointed by a link in your case)? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;The "path" here means a subfolder path within a folder tree pointed by a provided link eventually (when your target is not the entire tree, but some subpart). A file can't have a subfolder, as it, by self, is not a folder!&lt;/P&gt;&lt;P&gt;Hope this clarifies matter.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 13:41:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/625914#M28938</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-09-29T13:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626102#M28950</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I have an automation that gets information about newly added files to a Google sheet. The current cursor Dropbox is also saved in the sheet. The problem arises when the automation somehow loses its cursor. Then I get the information about the files from the beginning into cursor. I would like to improve it. Is it possible to read from Dropbox cursor from a specific position? For example, in sheet, I have a file name and a link to this file. Can I get a cursor on the basis of this information, thanks to which I will be able to retrieve information about subsequent files?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Sep 2022 06:51:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626102#M28950</guid>
      <dc:creator>maxior1234</dc:creator>
      <dc:date>2022-09-30T06:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626160#M28952</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I would need a cursor to be able to get the next files in the folder. For example, I have downloaded information (file name, etc.) about some of the files in the Dropbox folder. Information about files is downloaded to a file named x.jpg. I miss the cursor value. How can I get information about the next files in the Dropbox folder, but not from the beginning?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:42:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626160#M28952</guid>
      <dc:creator>maxior1234</dc:creator>
      <dc:date>2022-09-30T11:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626161#M28953</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1522589"&gt;@maxior1234&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;As far as you are correctly describing what you want, it's a cursor actually. As I mentioned cursor describe current enumeration state, nothing else. If the added files (past the last cursor) are not too much, you can add them to your sheet by hand and use the &lt;A title="A way to quickly get a cursor for the folder's state" href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-get_latest_cursor" target="_blank" rel="noopener noreferrer"&gt;/2/files/list_folder/get_latest_cursor&lt;/A&gt; call (applied to containing folder, not to a file) to get the actual (latest in this case) cursor and continue further. Otherwise you have to start listing from beginning. To avoid such "incidents", review why you have lost your cursor and take measures (if changes in the file is the reason, keep/backup the cursor in alternative file for instance - don't rely on insecure storage).&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 12:11:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626161#M28953</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-09-30T12:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626165#M28954</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Does cursor have any life expectancy? For example, it happens that tokens expire after a certain period of time, or is it similar with cursor?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 12:43:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626165#M28954</guid>
      <dc:creator>maxior1234</dc:creator>
      <dc:date>2022-09-30T12:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626167#M28955</link>
      <description>&lt;P&gt;No, no... Definitely not. Cursor doesn't expire. Just check why you have it lost (if you lost it, why you have doubts it expires 🧐)! Only this will let you fix the issue and avoid further "incidents". &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; You may have some weaknesses in your application algorithm. Check this too.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 12:49:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626167#M28955</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-09-30T12:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626173#M28956</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I am wondering about one solution? Currently cursor saves in one place. Since I download information about files one at a time, it gets another cursor after each download. If I were to write cursor on the same line as the file information, maybe this would help to eliminate this situation. If so, I would always have the cursor either the last one, or at least before the last one. Separating the cursor from the rest is also good, but it doesn't rule out my mistake, for example. In the sense that I will accidentally replace it with the wrong cursor. I have some of the same automations that work the same but use different places in the dropbox. On the other hand, the option that I am writing about a moment earlier is more difficult to implement.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 13:05:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626173#M28956</guid>
      <dc:creator>maxior1234</dc:creator>
      <dc:date>2022-09-30T13:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626175#M28957</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1522589"&gt;@maxior1234&lt;/a&gt;, Only you know how exactly your application works (or how it's supposed to, at least). That's why I can't comment what's the best. Again without clearance why you get you cursor lost, you are speculating here and force others to speculate too! For sure you need to clarify the reason and after that the solution.&lt;/P&gt;&lt;P&gt;About to "&lt;SPAN class=""&gt;write cursor on the same line as the file information&lt;/SPAN&gt;". &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; It's not a good idea. Dropbox doesn't guarantee you can get such a cursor for every single file! Again cursor represent enumeration state; one enumeration step can enumerate from zero to multiple entries (in spite of you can point some count). Providing a count of entries represent your wish and it's not mandatory for Dropbox (Dropbox will try to cover your wish). This make such a way very "slippery"! Don't do this if you are not sure what exactly you are doing.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 13:34:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626175#M28957</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-09-30T13:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626567#M28973</link>
      <description>&lt;P&gt;I have several such automations. Each of them retrieves information about files from a different but specific folder. When it needs the same additional automation, it creates a folder in Dropbox. I connect an automation that obtains a cursor (for a specific folder) and saves it to the appropriate tab in the sheet (to the second tab). Then I drop the files into this new folder. I restart the automation, which now downloads information about the added files to the first tab. As the files are downloaded one at a time, it also receives a new cursor each time and saves it to the second tab. With each downloaded file, the cursor is overwritten in tab 2, i.e. I have one fixed location for the cursor. In theory, since these cursors are for an enumeration in a specific folder, cursor should probably not be showing files in the wrong folder, but it could be different. If the automation were to load files from the wrong folder, this cannot happen. I am not sure, because there are several of the same automations, it is possible that I could even put something wrong. Thanks for your help, it will save the cursors to another file.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 07:10:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626567#M28973</guid>
      <dc:creator>maxior1234</dc:creator>
      <dc:date>2022-10-03T07:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: /list_folder/get_latest_cursor -&gt; shared_link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626645#M28975</link>
      <description>&lt;P&gt;Just to avoid some confusion &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1522589"&gt;@maxior1234&lt;/a&gt;. Take in mind that if you have different strings as valid cursors, this doesn't mean they mandatory represent different enumeration states of the folder you're listing! I think you are assuming it - it's not true. Just perform a test - call multiple times 'get_latest_cursor', without calling anything else in meantime (the enumeration state can NOT change); you may expect the same cursors strings.&amp;nbsp;&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; Are they the same? Also, the downloading doesn't change the enumeration state (uploading does it). Think for all cursors as a something opaque and don't try to interpret or compare them nor assume anything that's not explicitly pointed in corresponding documentation. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 12:10:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/list-folder-get-latest-cursor-gt-shared-link/m-p/626645#M28975</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-10-03T12:10:51Z</dc:date>
    </item>
  </channel>
</rss>

