[Iplant-api-dev] running foundation api jobs by http

Barthelson, Roger A - (rogerab) rogerab at email.arizona.edu
Wed Jan 9 15:35:06 MST 2013


I am trying, but I have failed completely at running a job by curl command as explained on this page:
https://pods.iplantcollaborative.org/wiki/display/docs/Foundation+API+v1.0#FoundationAPIv1.0-JOBBASIC

I tried the example, too, and it failed. Has something changed? I'm not sure I have ever done this correctly, so I have no idea what is wrong. Everything I submit comes back with this, including
when I submit the sample job submission:
{"status":"error","message":"Invalid job name","result":null}

The sample job I tried running was this:
{
   "request":{
      "application":"head-5.97",
      "name":"Top 5 lines of a neat file",
      "archiveOutput":true,
      "inputs":[
         {
            "inputFile":"/test/myfile.txt"
         }
      ],
      "parameters":[
         {
            "numberOfLines":5
         }
      ]
   }
}
It was submitted as a POST to https://foundation.iplantcollaborative.org/apps-v1/job

My own test job failed, too. It was for GeneSeqer-5.0, my own App.

Roger




Roger Barthelson Ph.D.
Bioinformatics Analyst
iPlant Collaborative
BIO5 Institute, University of Arizona
Phone: 520-977-5249
Email: rogerab at email.arizona.edu
Web: http://www.iplantcollaborative.org/
           http://bio-it.arizona.edu/Roger_Barthelson_Home.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20130109/73ca784f/attachment-0001.html 


More information about the Iplant-api-dev mailing list