I have roughly 38,000 folders I am looping through and getting the files in them and pushing them to another system. The first issue is that the List Items call in the API doesn't seem to have a way to tell it to only pass back folders when it isn't empty. Is that correct?
The second issue is that since the call only gets the folders and files in the one folder ID I am calling, I built a recursive loop to dive into the sub folders and then return the files until there are no more sub folders.
This means that since there is a 1000 limit call per minute then it will take me about 38 minutes to call all the folders and get the contents? Because I will have to do 1000 folders, pause the application and wait till the minute is up and the continue. Do I understand this correctly?
Is there a better way to do this?
Thanks, J