We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
maxior1234
3 years agoExplorer | Level 3
/list_folder/get_latest_cursor -> shared_link
Hello, I noticed that for get_latest_cursor you can add a shared_link parameter. If I understand the documentation correctly, this parameter allows you to get the cursor for a file whose name is cont...
Greg-DB
3 years agoDropbox Staff
I see you're referring to using the /2/files/list_folder/get_latest_cursor endpoint. 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.
The structure of your JSON looks fine for the latter case, but I do see two issues with the values:
- 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
- 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
By the way, the API v2 Explorer can helpful for constructing and testing calls like this. Click the "Show Code" button to see the constructed code.
- maxior12343 years agoExplorer | Level 3
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?
- Здравко3 years agoLegendary | Level 20
Hi maxior1234,
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 /2/files/list_folder/get_latest_cursor 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).
Good luck.
- maxior12343 years agoExplorer | Level 3
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?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!