From c86dcdfcd887bba64509e69dc3e1351404fc8bc3 Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Thu, 11 Sep 2025 04:07:35 +0000 Subject: [PATCH 1/2] Update rest-api-spec --- .../_json_spec/indices.cancel_migrate_reindex.json | 4 ++-- specification/_json_spec/indices.create_from.json | 4 ++-- .../_json_spec/indices.get_migrate_reindex_status.json | 4 ++-- specification/_json_spec/indices.migrate_reindex.json | 4 ++-- specification/_json_spec/indices.resolve_index.json | 6 ++---- specification/_json_spec/query_rules.test.json | 2 +- .../_json_spec/security.activate_user_profile.json | 2 +- specification/_json_spec/security.disable_user_profile.json | 2 +- specification/_json_spec/security.enable_user_profile.json | 2 +- specification/_json_spec/security.get_user_profile.json | 2 +- .../_json_spec/security.has_privileges_user_profile.json | 2 +- .../_json_spec/security.suggest_user_profiles.json | 2 +- .../_json_spec/security.update_user_profile_data.json | 2 +- 13 files changed, 18 insertions(+), 20 deletions(-) diff --git a/specification/_json_spec/indices.cancel_migrate_reindex.json b/specification/_json_spec/indices.cancel_migrate_reindex.json index a985eb0874..1def4916f5 100644 --- a/specification/_json_spec/indices.cancel_migrate_reindex.json +++ b/specification/_json_spec/indices.cancel_migrate_reindex.json @@ -4,8 +4,8 @@ "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-cancel-migrate-reindex", "description": "Cancel a migration reindex operation" }, - "stability": "experimental", - "visibility": "private", + "stability": "stable", + "visibility": "public", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/indices.create_from.json b/specification/_json_spec/indices.create_from.json index ce2167a95f..09048a2813 100644 --- a/specification/_json_spec/indices.create_from.json +++ b/specification/_json_spec/indices.create_from.json @@ -4,8 +4,8 @@ "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-create-from", "description": "Create an index from a source index" }, - "stability": "experimental", - "visibility": "private", + "stability": "stable", + "visibility": "public", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/indices.get_migrate_reindex_status.json b/specification/_json_spec/indices.get_migrate_reindex_status.json index 9cb460cee0..0df7b14fb9 100644 --- a/specification/_json_spec/indices.get_migrate_reindex_status.json +++ b/specification/_json_spec/indices.get_migrate_reindex_status.json @@ -4,8 +4,8 @@ "url": "https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-migration", "description": "Get the migration reindexing status" }, - "stability": "experimental", - "visibility": "private", + "stability": "stable", + "visibility": "public", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/indices.migrate_reindex.json b/specification/_json_spec/indices.migrate_reindex.json index 94b9567ff8..2e6266c5f9 100644 --- a/specification/_json_spec/indices.migrate_reindex.json +++ b/specification/_json_spec/indices.migrate_reindex.json @@ -4,8 +4,8 @@ "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-migrate-reindex", "description": "Reindex legacy backing indices" }, - "stability": "experimental", - "visibility": "private", + "stability": "stable", + "visibility": "public", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/indices.resolve_index.json b/specification/_json_spec/indices.resolve_index.json index d3e23cc24b..407fcb5368 100644 --- a/specification/_json_spec/indices.resolve_index.json +++ b/specification/_json_spec/indices.resolve_index.json @@ -41,10 +41,8 @@ "default": true }, "mode": { - "type": "enum", - "options": ["standard", "time_series", "logsdb", "lookup"], - "default": "", - "description": "Filter indices by index mode. Comma-separated list of IndexMode. Empty means no filter." + "type": "string", + "description": "Filter indices by index mode" } } } diff --git a/specification/_json_spec/query_rules.test.json b/specification/_json_spec/query_rules.test.json index aac5461bfd..0bc10d8b94 100644 --- a/specification/_json_spec/query_rules.test.json +++ b/specification/_json_spec/query_rules.test.json @@ -4,7 +4,7 @@ "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-query-rules-test", "description": "Test a query ruleset" }, - "stability": "experimental", + "stability": "stable", "visibility": "public", "headers": { "accept": ["application/json"], diff --git a/specification/_json_spec/security.activate_user_profile.json b/specification/_json_spec/security.activate_user_profile.json index 2aa153eaab..b9a6bc2023 100644 --- a/specification/_json_spec/security.activate_user_profile.json +++ b/specification/_json_spec/security.activate_user_profile.json @@ -5,7 +5,7 @@ "description": "Activate a user profile" }, "stability": "stable", - "visibility": "private", + "visibility": "public", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/security.disable_user_profile.json b/specification/_json_spec/security.disable_user_profile.json index 416b1d0085..af02229f7c 100644 --- a/specification/_json_spec/security.disable_user_profile.json +++ b/specification/_json_spec/security.disable_user_profile.json @@ -5,7 +5,7 @@ "description": "Disable a user profile" }, "stability": "stable", - "visibility": "private", + "visibility": "public", "headers": { "accept": ["application/json"] }, diff --git a/specification/_json_spec/security.enable_user_profile.json b/specification/_json_spec/security.enable_user_profile.json index 32f672084c..057c770a84 100644 --- a/specification/_json_spec/security.enable_user_profile.json +++ b/specification/_json_spec/security.enable_user_profile.json @@ -5,7 +5,7 @@ "description": "Enable a user profile" }, "stability": "stable", - "visibility": "private", + "visibility": "public", "headers": { "accept": ["application/json"] }, diff --git a/specification/_json_spec/security.get_user_profile.json b/specification/_json_spec/security.get_user_profile.json index f0ed58fae1..ab91402026 100644 --- a/specification/_json_spec/security.get_user_profile.json +++ b/specification/_json_spec/security.get_user_profile.json @@ -5,7 +5,7 @@ "description": "Get a user profile" }, "stability": "stable", - "visibility": "private", + "visibility": "public", "headers": { "accept": ["application/json"] }, diff --git a/specification/_json_spec/security.has_privileges_user_profile.json b/specification/_json_spec/security.has_privileges_user_profile.json index bcdc4b4d53..596b745952 100644 --- a/specification/_json_spec/security.has_privileges_user_profile.json +++ b/specification/_json_spec/security.has_privileges_user_profile.json @@ -5,7 +5,7 @@ "description": "Check user profile privileges" }, "stability": "stable", - "visibility": "private", + "visibility": "public", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/security.suggest_user_profiles.json b/specification/_json_spec/security.suggest_user_profiles.json index 1ecfbd63e0..47043a1bd9 100644 --- a/specification/_json_spec/security.suggest_user_profiles.json +++ b/specification/_json_spec/security.suggest_user_profiles.json @@ -5,7 +5,7 @@ "description": "Suggest a user profile" }, "stability": "stable", - "visibility": "private", + "visibility": "public", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/security.update_user_profile_data.json b/specification/_json_spec/security.update_user_profile_data.json index a1b26443c5..0395beec9d 100644 --- a/specification/_json_spec/security.update_user_profile_data.json +++ b/specification/_json_spec/security.update_user_profile_data.json @@ -5,7 +5,7 @@ "description": "Update user profile data" }, "stability": "stable", - "visibility": "private", + "visibility": "public", "headers": { "accept": ["application/json"], "content_type": ["application/json"] From a93fac9cc253bcfe8ff7c1c5dd6bb49defbdeaed Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 11 Sep 2025 16:29:22 +0400 Subject: [PATCH 2/2] Restore indices.resolve_index.json --- specification/_json_spec/indices.resolve_index.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/_json_spec/indices.resolve_index.json b/specification/_json_spec/indices.resolve_index.json index 407fcb5368..d3e23cc24b 100644 --- a/specification/_json_spec/indices.resolve_index.json +++ b/specification/_json_spec/indices.resolve_index.json @@ -41,8 +41,10 @@ "default": true }, "mode": { - "type": "string", - "description": "Filter indices by index mode" + "type": "enum", + "options": ["standard", "time_series", "logsdb", "lookup"], + "default": "", + "description": "Filter indices by index mode. Comma-separated list of IndexMode. Empty means no filter." } } }