Hello, That upload code should already be available in the mobile app. Larry, myself and Finn spent a few hours figuring all that stuff out last time round. I have added an API call in the taverna-player-portal to get the runs for a user eg /users/1/runs. Pull request waiting in github (hint hint Finn). I even added some tests.
Cheers, Ian On 24 August 2016 at 10:57, Finn Bacall <finn.bac...@manchester.ac.uk> wrote: > On 23/08/2016 11:38, Sagar wrote: > >> Hi, >> >> I think there is some problem as mention below >> >> 1) How can I upload a workflow using API ? >> > > here's a gist of some Java code someone wrote to upload a workflow to the > portal: > https://gist.github.com/larrytech7/957cc61a3bdd82e3e030 > > Basically the format is: > > { "workflow" : { "document" : > "data:application/octet-stream;base64,<<<Insert > base64 encoded workflow here>>>" } } > > Finn >