Added "version" param to delete and update

This commit is contained in:
Clinton Gormley 2013-06-20 11:34:09 +02:00
parent 48176a1e85
commit 2b91529c98
2 changed files with 8 additions and 0 deletions

View File

@ -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"],

View File

@ -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"