taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Dunlop <ianwdun...@gmail.com>
Subject Re: Taverna Player Portal JSON API queries ( Apache Taverna Mobile )
Date Mon, 22 Aug 2016 13:50:54 GMT
Hello,

I don't think the player and myexperiment are integrated at all. The player
is a way to run workflows on the server through a UI but you have to upload
the workflows yourself.The player is a standard ruby on rails application
and you can see all the endpoints that are available using "rake routes" .
I couldn't see one to list all runs for a user although there seems to be
one to list all runs (for everyone I guess). I also found
https://github.com/myGrid/taverna-player/wiki/JSON-API-Documentation (which
is what the portal uses underneath). So maybe you can ask for all runs and
then filter out via the id on the android side (not great but.....). It
wouldn't be too difficult to add this to the portal code, just needs a
route which takes the user id as a param.

See,
https://github.com/myGrid/taverna-player-portal/blob/master/app/controllers/taverna_player/runs_controller.rb#L37
and
https://github.com/myGrid/taverna-player-portal/blob/master/config/routes.rb

Cheers,

Ian



On 20 August 2016 at 10:58, Sagar <kumarsagar15795@gmail.com> wrote:

> Hi folks,
>
> Currently, taverna server and taverna-player-portal both  are running
> properly.
>
> So I have planned to integrate it in Android app.
>
> Below are some queries regarding JSON API.
>
> 1) How can I add a workflow ?
> 2) How is taverna-player-portal and myExperiment workflow linked ?
> 3) How to get all workflow's runs run by a user?
>
> Kindly revert as soon as possible.
>
> Thanks
> Sagar
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message