We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
Sam M.23
10 years agoNew member | Level 1
No cursor when fetching list_shared_links
When querying for shared links without a path I successfully return the entries I'm after however I can't seem to return a cursor for the request despite the api document saying:
Cursor is returned only if no path is given or the path is empty. This field is optional.
Any idea why that might be?
1 Reply
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
Hi Sam, this seems to work for me:
$ curl -X POST https://api.dropboxapi.com/2/sharing/list_shared_links \
> --header "Authorization: Bearer ACCESS_TOKEN_REDACTED" \
> --header "Content-Type: application/json" \
> --data "{}"
{
"links": [
{redacted for brevity}
],
"has_more": true,
"cursor": "eyJwcm9nIjogIjE0N{redacted for brevity}"
}Can you share a sample request/response showing the issue you're seeing? Thanks in advance!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 9 months ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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!