Hello,
I am trying to make Batch upload work by using JAVA SDK v2. I read this documentation and tried to perform a batch upload.
There is a general algorithm, which should use direct HTTP calls.
1. First point sais "Group files that are being uploaded to into one or more batches....". I don't know, what exactly is Group to batches, I assume that it is some logical splitting.
2. Then there is this instruction "For each file in a batch, in parallel, call /files/upload_session/start"
So I tried this code:
UploadSessionStartUploader uploadSessionStartUploader = dbxClientV2.files().uploadSessionStart();
and I got an instance of the UploadSessionStartUploader.
But now I don't know, how to use it, because it does not seem to provide any functionality for batch upload.
Could you please give me some example, how to do the batch upload?