diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/esql.query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/esql.query.json index f109f849be68c..4180fc878a0ba 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/esql.query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/esql.query.json @@ -5,7 +5,16 @@ "filter_path": [], "human": "__flag__", "pretty": "__flag__", - "format": "", + "format": [ + "csv", + "json", + "tsv", + "txt", + "yaml", + "cbor", + "smile", + "arrow" + ], "delimiter": "" }, "methods": [ diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json index 77a3fc9cc18a2..790e5ecd171f1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json @@ -11,7 +11,9 @@ "closed", "hidden", "none" - ] + ], + "ignore_unavailable": "__flag__", + "allow_no_indices": "__flag__" }, "methods": [ "GET" diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_geoip_database.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_geoip_database.json new file mode 100644 index 0000000000000..109dfce014012 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_geoip_database.json @@ -0,0 +1,31 @@ +{ + "ingest.delete_geoip_database": { + "url_params": { + "error_trace": "__flag__", + "filter_path": [], + "human": "__flag__", + "pretty": "__flag__", + "master_timeout": [ + "30s", + "-1", + "0" + ], + "timeout": [ + "30s", + "-1", + "0" + ] + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_ingest/geoip/database/{id}" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-geoip-database-api.html", + "availability": { + "stack": true, + "serverless": false + } + } +} diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_geoip_database.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_geoip_database.json new file mode 100644 index 0000000000000..e57b36f09cbf7 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_geoip_database.json @@ -0,0 +1,27 @@ +{ + "ingest.get_geoip_database": { + "url_params": { + "error_trace": "__flag__", + "filter_path": [], + "human": "__flag__", + "pretty": "__flag__", + "master_timeout": [ + "30s", + "-1", + "0" + ] + }, + "methods": [ + "GET" + ], + "patterns": [ + "_ingest/geoip/database", + "_ingest/geoip/database/{id}" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-geoip-database-api.html", + "availability": { + "stack": true, + "serverless": false + } + } +} diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_geoip_database.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_geoip_database.json new file mode 100644 index 0000000000000..675c01239af38 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_geoip_database.json @@ -0,0 +1,31 @@ +{ + "ingest.put_geoip_database": { + "url_params": { + "error_trace": "__flag__", + "filter_path": [], + "human": "__flag__", + "pretty": "__flag__", + "master_timeout": [ + "30s", + "-1", + "0" + ], + "timeout": [ + "30s", + "-1", + "0" + ] + }, + "methods": [ + "PUT" + ], + "patterns": [ + "_ingest/geoip/database/{id}" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-geoip-database-api.html", + "availability": { + "stack": true, + "serverless": false + } + } +} diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json index 771c603c87924..58308e10f4fbe 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json @@ -16,6 +16,7 @@ ], "ignore_throttled": "__flag__", "ignore_unavailable": "__flag__", + "include_named_queries_score": "__flag__", "max_concurrent_searches": "", "max_concurrent_shard_requests": [ "5" diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rule.delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_rule.json similarity index 93% rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rule.delete.json rename to src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_rule.json index eea5d085b03bc..4255ae1672064 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rule.delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_rule.json @@ -1,5 +1,5 @@ { - "query_rule.delete": { + "query_rules.delete_rule": { "url_params": { "error_trace": "__flag__", "filter_path": [], diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_ruleset.json similarity index 92% rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.delete.json rename to src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_ruleset.json index c0e564ec5c212..d4f34e7d76716 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_ruleset.json @@ -1,5 +1,5 @@ { - "query_ruleset.delete": { + "query_rules.delete_ruleset": { "url_params": { "error_trace": "__flag__", "filter_path": [], diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rule.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_rule.json similarity index 94% rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rule.get.json rename to src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_rule.json index 27564d1fe7b16..fdd424c2a2d1b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rule.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_rule.json @@ -1,5 +1,5 @@ { - "query_rule.get": { + "query_rules.get_rule": { "url_params": { "error_trace": "__flag__", "filter_path": [], diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_ruleset.json similarity index 93% rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.get.json rename to src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_ruleset.json index 424b749bc3a19..23cff910d815e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_ruleset.json @@ -1,5 +1,5 @@ { - "query_ruleset.get": { + "query_rules.get_ruleset": { "url_params": { "error_trace": "__flag__", "filter_path": [], diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.list.json b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.list_rulesets.json similarity index 93% rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.list.json rename to src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.list_rulesets.json index 3213cdbe9d6d6..c20f8050c5c91 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.list.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.list_rulesets.json @@ -1,5 +1,5 @@ { - "query_ruleset.list": { + "query_rules.list_rulesets": { "url_params": { "error_trace": "__flag__", "filter_path": [], diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rule.put.json b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_rule.json similarity index 94% rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rule.put.json rename to src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_rule.json index 346eeba09e6ed..2653a15dab650 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rule.put.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_rule.json @@ -1,5 +1,5 @@ { - "query_rule.put": { + "query_rules.put_rule": { "url_params": { "error_trace": "__flag__", "filter_path": [], diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.put.json b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_ruleset.json similarity index 93% rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.put.json rename to src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_ruleset.json index 924e449ab29d3..a4c0ad3c72d94 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/query_ruleset.put.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_ruleset.json @@ -1,5 +1,5 @@ { - "query_ruleset.put": { + "query_rules.put_ruleset": { "url_params": { "error_trace": "__flag__", "filter_path": [], diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json index dd41962508677..ffa3709b9ae3f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json @@ -29,6 +29,7 @@ "explain": "__flag__", "ignore_throttled": "__flag__", "ignore_unavailable": "__flag__", + "include_named_queries_score": "__flag__", "lenient": "__flag__", "max_concurrent_shard_requests": [ "5" diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_delete_role.json b/src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_delete_role.json new file mode 100644 index 0000000000000..cbc71a4354533 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_delete_role.json @@ -0,0 +1,26 @@ +{ + "security.bulk_delete_role": { + "url_params": { + "error_trace": "__flag__", + "filter_path": [], + "human": "__flag__", + "pretty": "__flag__", + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_security/role" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-bulk-delete-role.html", + "availability": { + "stack": true, + "serverless": false + } + } +} diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_put_role.json b/src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_put_role.json new file mode 100644 index 0000000000000..a31328b512882 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_put_role.json @@ -0,0 +1,26 @@ +{ + "security.bulk_put_role": { + "url_params": { + "error_trace": "__flag__", + "filter_path": [], + "human": "__flag__", + "pretty": "__flag__", + "refresh": [ + "true", + "false", + "wait_for" + ] + }, + "methods": [ + "POST" + ], + "patterns": [ + "_security/role" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-bulk-put-role.html", + "availability": { + "stack": true, + "serverless": false + } + } +} diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_role.json b/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_role.json new file mode 100644 index 0000000000000..7648662f973c0 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_role.json @@ -0,0 +1,22 @@ +{ + "security.query_role": { + "url_params": { + "error_trace": "__flag__", + "filter_path": [], + "human": "__flag__", + "pretty": "__flag__" + }, + "methods": [ + "GET", + "POST" + ], + "patterns": [ + "_security/_query/role" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-role.html", + "availability": { + "stack": true, + "serverless": false + } + } +} diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_user.json b/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_user.json index 4b8f22799b4bc..811d5c907173b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_user.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_user.json @@ -1,5 +1,12 @@ { "security.query_user": { + "url_params": { + "error_trace": "__flag__", + "filter_path": [], + "human": "__flag__", + "pretty": "__flag__", + "with_profile_uid": "__flag__" + }, "methods": [ "GET", "POST" diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json index 787d36fdb2ec6..2d382decb9c2e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json @@ -30,6 +30,7 @@ "max_docs": "", "pipeline": "", "preference": "", + "q": "", "refresh": "__flag__", "request_cache": "__flag__", "requests_per_second": [ diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.health.json b/src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.health.json index 949b897b29ff4..1c432db8e00e8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.health.json +++ b/src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.health.json @@ -1,38 +1,10 @@ { "cluster.health": { "url_params": { - "expand_wildcards": [ - "open", - "closed", - "hidden", - "none", - "all" - ], - "level": [ - "cluster", - "indices", - "shards" - ], - "local": "__flag__", "master_timeout": "", "timeout": "", "wait_for_active_shards": "", - "wait_for_nodes": "", - "wait_for_events": [ - "immediate", - "urgent", - "high", - "normal", - "low", - "languid" - ], - "wait_for_no_relocating_shards": "__flag__", - "wait_for_no_initializing_shards": "__flag__", - "wait_for_status": [ - "green", - "yellow", - "red" - ] + "wait_for_nodes": "" } } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/query_ruleset.put.json b/src/plugins/console/server/lib/spec_definitions/json/overrides/query_rules.put_ruleset.json similarity index 93% rename from src/plugins/console/server/lib/spec_definitions/json/overrides/query_ruleset.put.json rename to src/plugins/console/server/lib/spec_definitions/json/overrides/query_rules.put_ruleset.json index 9b50197db9689..21d598b0cdf7b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/overrides/query_ruleset.put.json +++ b/src/plugins/console/server/lib/spec_definitions/json/overrides/query_rules.put_ruleset.json @@ -1,5 +1,5 @@ { - "query_ruleset.put": { + "query_rules.put_ruleset": { "data_autocomplete_rules": { "rules": [{ "rule_id": "", diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/search.json b/src/plugins/console/server/lib/spec_definitions/json/overrides/search.json deleted file mode 100644 index 1028422b303f2..0000000000000 --- a/src/plugins/console/server/lib/spec_definitions/json/overrides/search.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "search": { - "url_params": { - "error_trace": true - } - } -} diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/xpack.info.json b/src/plugins/console/server/lib/spec_definitions/json/overrides/xpack.info.json index fff8fda8328f9..be604c799cf26 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/overrides/xpack.info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/overrides/xpack.info.json @@ -5,8 +5,7 @@ "build", "license", "features" - ], - "human": "__flag__" + ] } } }