From 000f42a427e73b6448426e837f9d35447be70231 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Sun, 16 Apr 2017 16:58:48 -0700 Subject: [PATCH] API Docs --- website/source/docs/http/job.html.md | 51 ++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/website/source/docs/http/job.html.md b/website/source/docs/http/job.html.md index d7b8d0f66..25316d678 100644 --- a/website/source/docs/http/job.html.md +++ b/website/source/docs/http/job.html.md @@ -133,6 +133,7 @@ region is used; another region can be specified using the `?region=` query param }, "Status": "", "StatusDescription": "", + "Version": 3, "CreateIndex": 14, "ModifyIndex": 14 } @@ -140,6 +141,56 @@ region is used; another region can be specified using the `?region=` query param +
+
Description
+
+ Query all versions of a single job. +
+ +
Method
+
GET
+ +
URL
+
`/v1/job//versions`
+ +
Parameters
+
+ None +
+ +
Blocking Queries
+
+ [Supported](/docs/http/index.html#blocking-queries) +
+ +
Returns
+
+ + ```javascript + [ + { + "Region": "global", + "ID": "binstore-storagelocker", + "Version": 2, + ... + }, + { + "Region": "global", + "ID": "binstore-storagelocker", + "Version": 1, + ... + }, + { + "Region": "global", + "ID": "binstore-storagelocker", + "Version": 0, + ... + } + ] + ``` +
+
+
Description