From f418b6f32d41fcd5f2a30a786504c6dd8c3848a3 Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Wed, 5 Feb 2020 13:57:51 +1000 Subject: [PATCH] Use deprecated object to deprecate synced flush API Relates: #50835 This commit updates the synced flush REST API to use the deprecated object to deprecate the whole API. --- .../resources/rest-api-spec/api/indices.flush_synced.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json index a7b4541c9623a..aa963cdc3e3eb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json @@ -2,7 +2,11 @@ "indices.flush_synced":{ "documentation":{ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html", - "description":"Performs a synced flush operation on one or more indices. Synced flush is deprecated and will be removed in 8.0. Use flush instead" + "description":"Performs a synced flush operation on one or more indices." + }, + "deprecated" : { + "version" : "7.6.0", + "description" : "Synced flush is deprecated and will be removed in 8.0. Use flush instead" }, "stability":"stable", "url":{