From 331d2d9955104bad48f43c5f09052c724ca27649 Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 7 Oct 2015 22:02:10 +0200 Subject: [PATCH] Update update.json Missing spec for [detect_noop](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html?q=update%20a#_literal_detect_noop_literal) parameter. --- .../src/main/resources/rest-api-spec/api/update.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json index 20fc3524283..37a04cbae28 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json @@ -82,6 +82,10 @@ "type": "enum", "options": ["internal", "force"], "description": "Specific version type" + }, + "detect_noop": { + "type": "boolean", + "description": "Specifying as true will cause Elasticsearch to check if there are changes and, if there aren’t, turn the update request into a noop." } } },