[daisy-pipeline.wiki] push by - Edited wiki page WebServiceAPI through web user interface. on 2014-05-01 07:45 GMT

0 views
Skip to first unread message

daisy-p...@googlecode.com

unread,
May 1, 2014, 3:45:14 AM5/1/14
to daisy-pipel...@googlegroups.com
Revision: a41556acff51
Branch: default
Author: capitan...@gmail.com
Date: Thu May 1 07:45:07 2014 UTC
Log: Edited wiki page WebServiceAPI through web user interface.
http://code.google.com/p/daisy-pipeline/source/detail?r=a41556acff51&repo=wiki

Modified:
/WebServiceAPI.wiki

=======================================
--- /WebServiceAPI.wiki Fri Dec 13 11:24:08 2013 UTC
+++ /WebServiceAPI.wiki Thu May 1 07:45:07 2014 UTC
@@ -134,6 +134,39 @@
* `HTTP 401 Unauthorized`: Client was not authorized to perform request.
* `HTTP 404 Not Found`: Resource not found

+== Execution Queue ==
+
+=== Get the queue of jobs ===
+ * HTTP Method: `GET`
+ * URI: `/queue`
+ * Query parameters:
+ * See [#Authentication]
+ * Response(s):
+ * `HTTP 200 OK`: Response body contains XML data. See a
[https://github.com/daisy-consortium/pipeline-framework/blob/master/webservice/samples/xml-formats/queue.xml
sample response document].
+ * `HTTP 401 Unauthorized`: Client was not authorized to perform request.
+
+=== Move a job up the execution queue ===
+ * HTTP Method: `GET`
+ * URI: `/queue/up/$ID`
+ * Query parameters:
+ * Where $ID is the job's ID to be moved up the queue.
+ * See [#Authentication]
+ * Response(s):
+ * `HTTP 200 OK`: Response body contains XML data. See a
[https://github.com/daisy-consortium/pipeline-framework/blob/master/webservice/samples/xml-formats/queue.xml
sample response document].
+ * `HTTP 401 Unauthorized`: Client was not authorized to perform request.
+ * `HTTP 404 Not Found`: Resource not found
+
+
+=== Move a job down the execution queue ===
+ * HTTP Method: `GET`
+ * URI: `/queue/down/$ID`
+ * Query parameters:
+ * Where $ID is the job's ID to be moved down the queue.
+ * See [#Authentication]
+ * Response(s):
+ * `HTTP 200 OK`: Response body contains XML data. See a
[https://github.com/daisy-consortium/pipeline-framework/blob/master/webservice/samples/xml-formats/queue.xml
sample response document].
+ * `HTTP 401 Unauthorized`: Client was not authorized to perform request.
+ * `HTTP 404 Not Found`: Resource not found

== Admin ==

Reply all
Reply to author
Forward
0 new messages