From d3bba22e68ae57ac90926c825561c7556e61497f Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Sat, 26 Apr 2025 04:06:51 +0000 Subject: [PATCH] Update rest-api-spec --- output/schema/schema.json | 15 ++++++--------- .../indices.delete_data_stream_options.json | 5 ++--- .../indices.get_data_stream_options.json | 5 ++--- .../indices.put_data_stream_options.json | 5 ++--- .../_json_spec/synonyms.delete_synonym_rule.json | 6 ++++++ .../_json_spec/synonyms.put_synonym.json | 6 ++++++ .../_json_spec/synonyms.put_synonym_rule.json | 6 ++++++ 7 files changed, 30 insertions(+), 18 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index 0cd8584571..d6ef8bfd82 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -7008,9 +7008,8 @@ { "availability": { "stack": { - "featureFlag": "es.failure_store_feature_flag_enabled", - "stability": "experimental", - "visibility": "feature_flag" + "stability": "stable", + "visibility": "public" } }, "description": "Deletes the data stream options of the selected data streams.", @@ -7733,9 +7732,8 @@ { "availability": { "stack": { - "featureFlag": "es.failure_store_feature_flag_enabled", - "stability": "experimental", - "visibility": "feature_flag" + "stability": "stable", + "visibility": "public" } }, "description": "Returns the data stream options of the selected data streams.", @@ -8313,9 +8311,8 @@ { "availability": { "stack": { - "featureFlag": "es.failure_store_feature_flag_enabled", - "stability": "experimental", - "visibility": "feature_flag" + "stability": "stable", + "visibility": "public" } }, "description": "Updates the data stream options of the selected data streams.", diff --git a/specification/_json_spec/indices.delete_data_stream_options.json b/specification/_json_spec/indices.delete_data_stream_options.json index 9bf9e1601f..be9f102ec4 100644 --- a/specification/_json_spec/indices.delete_data_stream_options.json +++ b/specification/_json_spec/indices.delete_data_stream_options.json @@ -4,9 +4,8 @@ "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", "description": "Deletes the data stream options of the selected data streams." }, - "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.failure_store_feature_flag_enabled", + "stability": "stable", + "visibility": "public", "headers": { "accept": ["application/json"] }, diff --git a/specification/_json_spec/indices.get_data_stream_options.json b/specification/_json_spec/indices.get_data_stream_options.json index c7ee328ef9..ef010d1df6 100644 --- a/specification/_json_spec/indices.get_data_stream_options.json +++ b/specification/_json_spec/indices.get_data_stream_options.json @@ -4,9 +4,8 @@ "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", "description": "Returns the data stream options of the selected data streams." }, - "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.failure_store_feature_flag_enabled", + "stability": "stable", + "visibility": "public", "headers": { "accept": ["application/json"] }, diff --git a/specification/_json_spec/indices.put_data_stream_options.json b/specification/_json_spec/indices.put_data_stream_options.json index 7abd0da45a..596af454d7 100644 --- a/specification/_json_spec/indices.put_data_stream_options.json +++ b/specification/_json_spec/indices.put_data_stream_options.json @@ -4,9 +4,8 @@ "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", "description": "Updates the data stream options of the selected data streams." }, - "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.failure_store_feature_flag_enabled", + "stability": "stable", + "visibility": "public", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/synonyms.delete_synonym_rule.json b/specification/_json_spec/synonyms.delete_synonym_rule.json index fcf1cf4b48..03b60e126f 100644 --- a/specification/_json_spec/synonyms.delete_synonym_rule.json +++ b/specification/_json_spec/synonyms.delete_synonym_rule.json @@ -27,6 +27,12 @@ } } ] + }, + "params": { + "refresh": { + "type": "boolean", + "description": "Refresh search analyzers to update synonyms" + } } } } diff --git a/specification/_json_spec/synonyms.put_synonym.json b/specification/_json_spec/synonyms.put_synonym.json index b29d7670f9..2df17d737a 100644 --- a/specification/_json_spec/synonyms.put_synonym.json +++ b/specification/_json_spec/synonyms.put_synonym.json @@ -24,6 +24,12 @@ } ] }, + "params": { + "refresh": { + "type": "boolean", + "description": "Refresh search analyzers to update synonyms" + } + }, "body": { "description": "Synonyms set rules", "required": true diff --git a/specification/_json_spec/synonyms.put_synonym_rule.json b/specification/_json_spec/synonyms.put_synonym_rule.json index 116a705574..a2c4e3062f 100644 --- a/specification/_json_spec/synonyms.put_synonym_rule.json +++ b/specification/_json_spec/synonyms.put_synonym_rule.json @@ -28,6 +28,12 @@ } ] }, + "params": { + "refresh": { + "type": "boolean", + "description": "Refresh search analyzers to update synonyms" + } + }, "body": { "description": "Synonym rule", "required": true