We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
axew3
10 years agoCollaborator | Level 8
Retrieve with a File limit and File count
Last post i've do on answer on another topic asking about app folder or full dropbox, and how to detect, was completely not necessary, once i've see how API answer in these cases and how all work abo...
- 10 years ago
It sounds like you're referring to /2/sharing/list_shared_links, is that right? The API doesn't currently offer a way to get the total count like this, but I'll be sure to pass this along as a feature request.
axew3
10 years agoCollaborator | Level 8
the FILES LIMIT option i've add/think to, present also the follow problem:
API answers return files, starting from latest added/uploaded files into dbx by the user.
API answers return files, starting from latest added/uploaded files into dbx by the user.
- Greg-DB10 years ago
Dropbox Community Moderator
It sounds like you're referring to /2/sharing/list_shared_links, is that right? The API doesn't currently offer a way to get the total count like this, but I'll be sure to pass this along as a feature request.
- axew39 years agoCollaborator | Level 8
you're right! this the result, after also your's helps, if i can:
https://plugins.w3tasks.com/wp/index.php/dropbox/?u=admin
it is possible to register and test. This linked as example is just a test account for an user named admin
now i know there are more ways to achieve a result and maybe i can now rewrite in another way, using DBX API in different way ... but it work very fast due to a little cache system added, that seem to work really nice!
The plugin is done by just 5 little files, and 1 unique class, but let for each user do anything into his DBX, within WP.
Admin can choose which groups can use the dbx feature, files limit, cache time, full dbx or app folder.
Not totally sure the way to release it .... i could ticket something about maybe for some help hint?
Thank you for all.
- axew39 years agoCollaborator | Level 8
p.s it use all the dbx more easy available features, coded at once, and it is funny how using it you can do really all, with this little code. P.s it is still little raw, but work like a charm-
p.s i know there is no need for you but ... maybe for others, the user menu about DBX appear on user profile page, after registered!
p.s about file count on first API answer in list_shared_links: would be great, for a files limit feature that can so be added more easily, but in true, is possible to inform about the fact that there are more files, but only some have been retrieved, and display maybe, in this case, only files and not folders extracted from array response. By the way the count available would be maybe useful for some other nice thing to display to users.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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, Facebook or Instagram.
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!