summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTaseer Ahmed <taseer94@gmail.com>2017-07-25 09:50:13 +0500
committerTaseer Ahmed <taseer94@gmail.com>2017-07-25 09:57:14 +0500
commitea4c439b56b22e48a2bf2bdfe709a79cbe4df784 (patch)
treed9538b287fbaa90c53bf87fba24c0157a1f56eb1 /docs
parentcafb53752ce7737d695e23af299429e9e805eced (diff)
Getting a list of Jobs.
JIRA: STORPERF-184 - Remove "required" condition for getting Job. - Update documentation. Change-Id: I4dad1dfdb998c78c9c6620760614a36dd62318ec Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/testing/user/test-usage.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/testing/user/test-usage.rst b/docs/testing/user/test-usage.rst
index 8ffa27a..586ba7a 100644
--- a/docs/testing/user/test-usage.rst
+++ b/docs/testing/user/test-usage.rst
@@ -232,6 +232,15 @@ remain to be executed.
curl -X DELETE --header 'Accept: application/json' http://StorPerf:5000/api/v1.0/jobs
+List all Jobs
+=============
+A list of all Jobs can also be queried. You just need to issue a GET request without any
+Job ID.
+
+.. code-block:: bash
+
+ curl -X GET --header 'Accept: application/json' http://StorPerf/api/v1.0/jobs
+
Delete the Environment
======================
After you are done testing, you can have StorPerf delete the Heat stack by