Hi,
We are dealing with an application that's job is to retrieve around 10-20 images from dropbox, and pass their shared links (2 per image, one for the image and one for it's thumbnail) to a Canva based UI application. This UI application then places the retrieved images in respective positions on the Canva design.
The code to retrieve those URLs is below
`
const downloadUrls = await Promise.all(rankedImages.slice(startIndex,endIndex).map(async (rankedImage) => {
const imgPath = `${dbxFolder}/` + rankedImage.image;
const thumbnailPath = `${dbxFolder}/` + rankedImage.thumbnail;
const sharedLinkImg = await get_dropbox_shared_link(dbx, imgPath);
const sharedLinkThumbnail = await get_dropbox_shared_link(dbx, thumbnailPath);
console.log("Retrieved shared links ...", imgPath);
return [sharedLinkImg, sharedLinkThumbnail];
}));`
As you can see, we're operating with a small slice from startIndex to endIndex which is generally 10+ images. I'm not sure why we would hit a rate limit with such small number of API calls in general. How do we find out what are the limits. I also don't see any possible APIs to deal with the shared links in a batch manner.
Please advice,
Thanks in advance,
foranuj