lirmm / waves-core

WAVES is a reusable web application dedicated to bioinformatic tool integration

Home Page:https://waves-core.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Downloading file from REST API

CVroland opened this issue · comments

There's no documented solutions for downloading an output (or input) file from the server with the REST API.

Found :

from coreapi import Client, auth
#create of the coreapi client and document
...
#get the output file
client.action(document, ["jobs", "output"], params={'unique_id':str(unique_id), 'app_short_name':str(app_short_name)})

The documentation needs to be update
I think jobs.input should be the same for input files.

Hi thank you for your feedback. I am not sure I understand the question, where is the documentation wrong ? and did you manage to finally download an output from api ?

An actual client does not exists (yet) for waves, only one embryo is available here, with no guarantee at all.
https://github.com/marcoooo/waves-api-client

The documentation didn't explain what does this function. In others words, if you don't know how to download, you need to test all the function.