cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Creating and getting shared links through the API is way too slow

New member | Level 2
New member | Level 2

Hi,

 

I'm using Dropbox API v2 to generate and get shared links for thousands of files.

 

Both requests are taking in average 1.7 seconds so the process is taking way too long (28 minutes per 1000 files). This is what I'm using:

 

CREATE:
resourceSharedLink = client.sharing().createSharedLinkWithSettings(resourcePath).getUrl();

GET:
resourceSharedLink = client.sharing().listSharedLinksBuilder().withPath(resourcePath).start().getLinks().get(0).getUrl();

 

My app is useless with these speeds, what can I do?

 

Thanks!

1 Reply 1
Highlighted

Re: Creating and getting shared links through the API is way too slow

Dropboxer
Dropboxer

I'm afraid there isn't a way to speed up these calls unfortunately, but I'll pass this along as a feature request. I can't promise if or when that might be improved on though. 

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?