=======================================
--- /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