Closed sverhoeven closed 9 months ago
I would be nice to exclude multiple things like output
, Stdout
, Stderr
.
This can be done with multiple exclude
query parameters as described at
https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#__tabbed_15_2 . This only works since fastapi v0.95.2
Fixed in #70
Would be nice to offer a route to download the input files and output files of a job.
For haddock3 the output is always written to
output/
sub directory, while the input archive is unpacked in the root of the job directory.To download input files we could use
GET /jobs/{jobid}/archive?exclude=output
To download output files we could useGET /jobs/{jobid}/archive/output
. To download all files we could useGET /jobs/{jobid}/archive
.The archive format could be zip or tar.gz,tar.bz2,.tar.xz . Format could be configurable with accept header or a query parameter.