diff --git a/rest-api-spec/api/get.json b/rest-api-spec/api/get.json index bea982f3c83..248c3a6d7d2 100644 --- a/rest-api-spec/api/get.json +++ b/rest-api-spec/api/get.json @@ -58,6 +58,15 @@ "_source_include": { "type" : "list", "description" : "A list of fields to extract and return from the _source field" + }, + "version" : { + "type" : "number", + "description" : "Explicit version number for concurrency control" + }, + "version_type": { + "type" : "enum", + "options" : ["internal","external"], + "description" : "Specific version type" } } }, diff --git a/rest-api-spec/api/get_source.json b/rest-api-spec/api/get_source.json index 09560e78fac..8a9622fb490 100644 --- a/rest-api-spec/api/get_source.json +++ b/rest-api-spec/api/get_source.json @@ -50,6 +50,14 @@ "routing": { "type" : "string", "description" : "Specific routing value" + "version" : { + "type" : "number", + "description" : "Explicit version number for concurrency control" + }, + "version_type": { + "type" : "enum", + "options" : ["internal","external"], + "description" : "Specific version type" } } },