From 2b91529c98653d6371d709c1974859d94ae515f6 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Thu, 20 Jun 2013 11:34:09 +0200 Subject: [PATCH] Added "version" param to delete and update --- rest-api-spec/api/delete.json | 4 ++++ rest-api-spec/api/update.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/rest-api-spec/api/delete.json b/rest-api-spec/api/delete.json index 139188df8f5..05eb08dc3f8 100644 --- a/rest-api-spec/api/delete.json +++ b/rest-api-spec/api/delete.json @@ -50,6 +50,10 @@ "type" : "time", "description" : "Explicit operation timeout" }, + "version" : { + "type" : "number", + "description" : "Explicit version number for concurrency control" + }, "version_type": { "type" : "enum", "options" : ["internal","external"], diff --git a/rest-api-spec/api/update.json b/rest-api-spec/api/update.json index 2bd491926a1..6b751fbf02a 100644 --- a/rest-api-spec/api/update.json +++ b/rest-api-spec/api/update.json @@ -77,6 +77,10 @@ "type" : "duration", "description" : "Expiration time for the document" }, + "version" : { + "type" : "number", + "description" : "Explicit version number for concurrency control" + }, "version_type": { "type" : "number", "description" : "Explicit version number for concurrency control"