How to download all files for the workflow?

Hello,

I am looking for a way to download all existing files for the workflow using Dockstore API. It
seems there are methods to download one file at a time:

https://dockstore.org/api/static/swagger-ui/index.html#/workflows/primaryDescriptor_1
https://dockstore.org/api/static/swagger-ui/index.html#/workflows/secondaryDescriptorPath_1

Am I missing the method that can do it for all existing files at once?

If the API function does not exist, I could write a wrapper to download one descriptor file at a time. Is there an API call to get a list of all descriptor files for the workflow in the Dockstore?

Many thanks!

Hi,

You could give zip download a try, it looks like https://dockstore.org/api/workflows/16247/zip/64804

1 Like

I found the API call for it:
https://dockstore.org/api/static/swagger-ui/index.html#/containers/getToolZip

What is the tagId here? Is it a version number of the workflow in the Dockstore?