We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
axew3
9 years agoCollaborator | Level 8
list_shared_links: how to get data in the best way (?)
Hello all: after an API look into, i've got this about list_shared_links (and i ask if it is right):
if i like to display all shared links of an user, of a specified folder, i can't get only shared files of this folder, i need to get all shared files for the user, so iterate over to extract.
Is this correct? I hope yes since i've the working class ready :), so if there is another convenient way to achieve shared files links for specified folder, instead to recall curl each 200 files (than if an user have in sharing 2000 files, curl will call 10 times to retrieve all files) unify these arrays, and iterate extracting the necessary.
Hum ... maybe i had to do this question before!
Thank you.
That's correct, you should use /2/sharing/list_shared_links and filter the results to just the files in the folder(s) you're interested in. Make sure you check the has_more field in the result to see if you need to call back for more results.
- Greg-DBDropbox Staff
That's correct, you should use /2/sharing/list_shared_links and filter the results to just the files in the folder(s) you're interested in. Make sure you check the has_more field in the result to see if you need to call back for more results.
- axew3Collaborator | Level 8
ah yeah! already done and working like a charm.
Thank you ;)
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!