switch to opentox-ruby version 4.0.0
[task] / README.md
1 OpenTox Task
2 ============
3
4 - An [OpenTox](http://www.opentox.org) REST Webservice 
5
6 REST operations
7 ---------------
8
9     Get a list of all tasks     GET     /                 -                       Task URIs                             200
10     Get the status of a  task   GET     /{id}/status      -                       created|started|completed|cancelled   200,404
11     Get the PID of a  task      GET     /{id}/pid         -                       Task PID                              200,404
12     Create a new task           POST    /                 -                       Task URI                              200
13     Start a  task               PUT     /{id}/started     ""                      -                                     200,404
14     Complete a  task            PUT     /{id}/completed   resource={resource_uri} -                                     200,404
15     Set the PID of a  task      PUT     /{id}/pid         pid={PID}               -                                     200,404
16     Cancel a  task              PUT     /{id}/cancelled   ""                      -                                     200, 404
17     Delete a  task              DELETE  /{id}             -                       -                                     200, 404
18     Delete all  tasks           DELETE  /                 -                       -                                     200
19
20 IMPORTANT NOTE: Our framework does not accept empty PUT requests. Please send an empty parameter (e.g. with -d '' for curl) or you will receive a "411 Length Required" error.
21
22 [API documentation](http://rdoc.info/github/opentox/task)
23 --------------------------------------------------------
24
25 Copyright (c) 2009-2011 Christoph Helma, Martin Guetlein, Micha Rautenberg, Andreas Maunz, David Vorgrimmler, Denis Gebele. See LICENSE for details.
26