Developer:JobsResource

From myExperiment
Jump to: navigation, search

Jobs Resource

Index of jobs

Planned.


Create job

Planned.


Read job

URL: GET http://www.myexperiment.org/job.xml?id=67

Example output:

<?xml version="1.0" encoding="UTF-8"?>
<job uri="http://sandbox.myexperiment.org/job.xml?id=67" resource="http://sandbox.myexperiment.org/experiments/20/jobs/67">
  <id>67</id>
  <owner uri="http://sandbox.myexperiment.org/user.xml?id=22" resource="http://sandbox.myexperiment.org/users/22">Don Cruickshank</owner>
  <title>Job_20080910-1323_Don Cruickshank</title>
  <description/>
  <experiment uri="http://sandbox.myexperiment.org/experiment.xml?id=20" resource="http://sandbox.myexperiment.org/experiments/20">Don's unique tag experiment</experiment>
  <runnable uri="http://sandbox.myexperiment.org/workflow.xml?id=154" resource="http://sandbox.myexperiment.org/workflows/154">BioAID_ProteinDiscovery_filterOnHumanUniprot_perDoc_html</runnable>
  <runner uri="http://sandbox.myexperiment.org/runner.xml?id=5" resource="http://sandbox.myexperiment.org/runners/5">aida runner</runner>
  <status>COMPLETE</status>
  <created-at>Wed Sep 10 13:24:13 +0100 2008</created-at>
  <submitted-at>Wed Sep 10 13:24:38 +0100 2008</submitted-at>
  <started-at>Wed Sep 10 14:24:38 +0100 2008</started-at>
  <completed-at>Wed Sep 10 14:25:40 +0100 2008</completed-at>
  <status-at>Fri Jan 30 14:45:14 +0000 2009</status-at>
</job>


Update job

Planned.


Delete job

Planned.


Elements for job

  • id - the id of the job
  • owner - the user who submitted the job
  • title - the title of the job
  • description - a description of the job
  • experiment - the experiment to which the job belongs
  • runnable - the workflow that was run for the job
  • runner - the runner resource that ran the workflow for the job (e.g. a Taverna enactor)
  • status - the current status of the job (e.g. 'not yet submitted', 'running', 'complete', etc.)
  • created-at - the date/time the job was created
  • submitted-at - the date/time the job was submitted to the runner
  • started-at - the date/time the job started on the runner
  • completed-at - the date/time the job completed on the runner
  • status-at the date/time the current status of the job last changed