I am interested in downloading all the contents of a repository.
I have seen that to download a directory, I can do as suggested in the docs.
The first step is to get a task token.
This requires us to specify:
When trying to download a subdir (e.g. “/dir1/dir2”) I would specify this as:
parent_dir = “/dir1”
dirents = “dir2”
But when I want to to download everything in that repo, i.e. the root diretory ("/", how do I specify these parameters? I have tried setting each to “/” while the other is blank, but I get 500 error. If I omit one of these parameters, then I get 400 error.
What is the right way to download the entire repo?
Is there an example I can find somewhere?