diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json index 704cb082161ae..ba993d25c60ec 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json @@ -4,7 +4,7 @@ "PUT" ], "patterns": [ - "{index}/_ccr/follow" + "{indices}/_ccr/follow" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json b/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json index 47553262c95d2..6d72e12df17d4 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "{index}/_ccr/stats" + "{indices}/_ccr/stats" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json index 4dcb0fdaf9b87..72afa796e1964 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "{index}/_ccr/pause_follow" + "{indices}/_ccr/pause_follow" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json index 00b889d0d5f9a..3710cdb8cc577 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "{index}/_ccr/resume_follow" + "{indices}/_ccr/resume_follow" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json b/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json index 9d9d6868a2fc9..92759d8222c63 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json +++ b/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json @@ -4,8 +4,8 @@ "POST" ], "patterns": [ - "{index}/_ccr/unfollow" + "{indices}/_ccr/unfollow" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html" + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json b/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json index fc835953c2c6d..5a3c760386f10 100644 --- a/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json +++ b/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json @@ -4,8 +4,7 @@ "POST" ], "patterns": [ - "{indices}/_ilm/remove", - "_ilm/remove" + "{indices}/_ilm/remove" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json b/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json deleted file mode 100644 index 6c57973eaabae..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ilm.set_policy": { - "methods": [ - "PUT" - ], - "patterns": [ - "{indices}/_ilm/{new_policy}" - ], - "documentation": "http://www.elastic.co/guide/en/index_lifecycle/current/index_lifecycle.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json b/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json new file mode 100644 index 0000000000000..06e8c606f59f7 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json @@ -0,0 +1,24 @@ +{ + "indices.freeze": { + "url_params": { + "timeout": "", + "master_timeout": "", + "ignore_unavailable": "__flag__", + "allow_no_indices": "__flag__", + "expand_wildcards": [ + "open", + "closed", + "none", + "all" + ], + "wait_for_active_shards": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "{indices}/_freeze" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/frozen.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json b/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json new file mode 100644 index 0000000000000..186a671347240 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json @@ -0,0 +1,24 @@ +{ + "indices.unfreeze": { + "url_params": { + "timeout": "", + "master_timeout": "", + "ignore_unavailable": "__flag__", + "allow_no_indices": "__flag__", + "expand_wildcards": [ + "open", + "closed", + "none", + "all" + ], + "wait_for_active_shards": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "{indices}/_unfreeze" + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/frozen.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.close_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.close_job.json similarity index 78% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.close_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.close_job.json index 933f79a1028ed..310b0d125b1f9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.close_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.close_job.json @@ -1,5 +1,5 @@ { - "xpack.ml.close_job": { + "ml.close_job": { "url_params": { "allow_no_jobs": "__flag__", "force": "__flag__", @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_close" + "_ml/anomaly_detectors/{job_id}/_close" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json similarity index 51% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_filter.json rename to x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json index 5a4a8cd232448..97e5898072a08 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_filter.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json @@ -1,10 +1,10 @@ { - "xpack.ml.delete_filter": { + "ml.delete_calendar": { "methods": [ "DELETE" ], "patterns": [ - "_xpack/ml/filters/{filter_id}" + "_ml/calendars/{calendar_id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json new file mode 100644 index 0000000000000..85ea5add0b60b --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json @@ -0,0 +1,10 @@ +{ + "ml.delete_calendar_event": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/calendars/{calendar_id}/events/{event_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json new file mode 100644 index 0000000000000..6665f52eeb90d --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json @@ -0,0 +1,10 @@ +{ + "ml.delete_calendar_job": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/calendars/{calendar_id}/jobs/{job_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json similarity index 76% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json index af1d5564cf9ca..7c7f3c40f23bb 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json @@ -1,5 +1,5 @@ { - "xpack.ml.delete_datafeed": { + "ml.delete_datafeed": { "url_params": { "force": "__flag__" }, @@ -7,7 +7,7 @@ "DELETE" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}" + "_ml/datafeeds/{datafeed_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json new file mode 100644 index 0000000000000..4afa9e323b030 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json @@ -0,0 +1,10 @@ +{ + "ml.delete_expired_data": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/_delete_expired_data" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json new file mode 100644 index 0000000000000..8210a2acd71d0 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json @@ -0,0 +1,10 @@ +{ + "ml.delete_filter": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/filters/{filter_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json new file mode 100644 index 0000000000000..971a761cc77e9 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json @@ -0,0 +1,16 @@ +{ + "ml.delete_forecast": { + "url_params": { + "allow_no_forecasts": "__flag__", + "timeout": "" + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_ml/anomaly_detectors/{job_id}/_forecast", + "_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}" + ], + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json similarity index 61% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json index 26c45ad0fc6fb..ab518071bf765 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json @@ -1,13 +1,14 @@ { - "xpack.ml.delete_job": { + "ml.delete_job": { "url_params": { - "force": "__flag__" + "force": "__flag__", + "wait_for_completion": "__flag__" }, "methods": [ "DELETE" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}" + "_ml/anomaly_detectors/{job_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_model_snapshot.json b/x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json similarity index 61% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json index faf9da66f3bee..53d45bf0498ab 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json @@ -1,10 +1,10 @@ { - "xpack.ml.delete_model_snapshot": { + "ml.delete_model_snapshot": { "methods": [ "DELETE" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}" + "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json b/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json new file mode 100644 index 0000000000000..1966529539734 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json @@ -0,0 +1,31 @@ +{ + "ml.find_file_structure": { + "url_params": { + "lines_to_sample": "", + "timeout": "", + "charset": "", + "format": [ + "ndjson", + "xml", + "delimited", + "semi_structured_text" + ], + "has_header_row": "__flag__", + "column_names": [], + "delimiter": "", + "quote": "", + "should_trim_fields": "__flag__", + "grok_pattern": "", + "timestamp_field": "", + "timestamp_format": "", + "explain": "__flag__" + }, + "methods": [ + "POST" + ], + "patterns": [ + "_ml/find_file_structure" + ], + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-file-structure.html" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.flush_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json similarity index 80% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.flush_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json index 190fa9813384e..2f496003a2834 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.flush_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json @@ -1,5 +1,5 @@ { - "xpack.ml.flush_job": { + "ml.flush_job": { "url_params": { "calc_interim": "__flag__", "start": "", @@ -11,7 +11,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_flush" + "_ml/anomaly_detectors/{job_id}/_flush" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.forecast.json b/x-pack/plugins/console_extensions/spec/generated/ml.forecast.json similarity index 63% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.forecast.json rename to x-pack/plugins/console_extensions/spec/generated/ml.forecast.json index e96a5100e98dd..3a8849aad3e4d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.forecast.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.forecast.json @@ -1,5 +1,5 @@ { - "xpack.ml.forecast": { + "ml.forecast": { "url_params": { "duration": "", "expires_in": "" @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_forecast" + "_ml/anomaly_detectors/{job_id}/_forecast" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_buckets.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json similarity index 61% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_buckets.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json index a63c47ab52429..a6af0dc63a388 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_buckets.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json @@ -1,13 +1,13 @@ { - "xpack.ml.get_buckets": { + "ml.get_buckets": { "url_params": { "expand": "__flag__", "exclude_interim": "__flag__", - "from": 0, - "size": 0, + "from": "", + "size": "", "start": "", "end": "", - "anomaly_score": 0, + "anomaly_score": "", "sort": "", "desc": "__flag__" }, @@ -16,8 +16,8 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", - "_xpack/ml/anomaly_detectors/{job_id}/results/buckets" + "_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", + "_ml/anomaly_detectors/{job_id}/results/buckets" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendar_events.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json similarity index 56% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendar_events.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json index c6734d6cdc893..2c1e38f49b328 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendar_events.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json @@ -1,17 +1,17 @@ { - "xpack.ml.get_calendar_events": { + "ml.get_calendar_events": { "url_params": { "job_id": "", "start": "", "end": "", - "from": 0, - "size": 0 + "from": "", + "size": "" }, "methods": [ "GET" ], "patterns": [ - "_xpack/ml/calendars/{calendar_id}/events" + "_ml/calendars/{calendar_id}/events" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json new file mode 100644 index 0000000000000..745b6bbbd35e4 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json @@ -0,0 +1,16 @@ +{ + "ml.get_calendars": { + "url_params": { + "from": "", + "size": "" + }, + "methods": [ + "GET", + "POST" + ], + "patterns": [ + "_ml/calendars", + "_ml/calendars/{calendar_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_categories.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json similarity index 51% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_categories.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json index 1157a0a375880..658bca9dfa2e3 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_categories.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json @@ -1,16 +1,16 @@ { - "xpack.ml.get_categories": { + "ml.get_categories": { "url_params": { - "from": 0, - "size": 0 + "from": "", + "size": "" }, "methods": [ "GET", "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}", - "_xpack/ml/anomaly_detectors/{job_id}/results/categories/" + "_ml/anomaly_detectors/{job_id}/results/categories/{category_id}", + "_ml/anomaly_detectors/{job_id}/results/categories/" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeed_stats.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json similarity index 67% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeed_stats.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json index 8b5613da5c935..5c300e444c794 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeed_stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_datafeed_stats": { + "ml.get_datafeed_stats": { "url_params": { "allow_no_datafeeds": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_stats", - "_xpack/ml/datafeeds/_stats" + "_ml/datafeeds/{datafeed_id}/_stats", + "_ml/datafeeds/_stats" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeeds.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json similarity index 70% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeeds.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json index 1f44b4aba572a..9979a685426be 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_datafeeds.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_datafeeds": { + "ml.get_datafeeds": { "url_params": { "allow_no_datafeeds": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}", - "_xpack/ml/datafeeds" + "_ml/datafeeds/{datafeed_id}", + "_ml/datafeeds" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json new file mode 100644 index 0000000000000..e1b7306909d34 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json @@ -0,0 +1,15 @@ +{ + "ml.get_filters": { + "url_params": { + "from": "", + "size": "" + }, + "methods": [ + "GET" + ], + "patterns": [ + "_ml/filters", + "_ml/filters/{filter_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_influencers.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json similarity index 67% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_influencers.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json index a4a0a62a8fb5a..4c8b4cb5de388 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_influencers.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json @@ -1,12 +1,12 @@ { - "xpack.ml.get_influencers": { + "ml.get_influencers": { "url_params": { "exclude_interim": "__flag__", - "from": 0, - "size": 0, + "from": "", + "size": "", "start": "", "end": "", - "influencer_score": 0, + "influencer_score": "", "sort": "", "desc": "__flag__" }, @@ -15,7 +15,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/influencers" + "_ml/anomaly_detectors/{job_id}/results/influencers" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_job_stats.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json similarity index 65% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_job_stats.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json index 644c1a81eb7c5..b28a2655cbefe 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_job_stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_job_stats": { + "ml.get_job_stats": { "url_params": { "allow_no_jobs": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_xpack/ml/anomaly_detectors/_stats", - "_xpack/ml/anomaly_detectors/{job_id}/_stats" + "_ml/anomaly_detectors/_stats", + "_ml/anomaly_detectors/{job_id}/_stats" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_jobs.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_jobs.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json index 2621d8b56c2ec..8f7de906578d7 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_jobs.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json @@ -1,5 +1,5 @@ { - "xpack.ml.get_jobs": { + "ml.get_jobs": { "url_params": { "allow_no_jobs": "__flag__" }, @@ -7,8 +7,8 @@ "GET" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}", - "_xpack/ml/anomaly_detectors" + "_ml/anomaly_detectors/{job_id}", + "_ml/anomaly_detectors" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_model_snapshots.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json similarity index 58% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_model_snapshots.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json index cf82bd258375f..a4ec4fba38d2e 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_model_snapshots.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json @@ -1,8 +1,8 @@ { - "xpack.ml.get_model_snapshots": { + "ml.get_model_snapshots": { "url_params": { - "from": 0, - "size": 0, + "from": "", + "size": "", "start": "", "end": "", "sort": "", @@ -13,8 +13,8 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots" + "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", + "_ml/anomaly_detectors/{job_id}/model_snapshots" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_overall_buckets.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json similarity index 70% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_overall_buckets.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json index ec6da8fb7a2a9..c8cc6ba113bec 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_overall_buckets.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json @@ -1,9 +1,9 @@ { - "xpack.ml.get_overall_buckets": { + "ml.get_overall_buckets": { "url_params": { - "top_n": 0, + "top_n": "", "bucket_span": "", - "overall_score": 0, + "overall_score": "", "exclude_interim": "__flag__", "start": "", "end": "", @@ -14,7 +14,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/overall_buckets" + "_ml/anomaly_detectors/{job_id}/results/overall_buckets" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_records.json b/x-pack/plugins/console_extensions/spec/generated/ml.get_records.json similarity index 69% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_records.json rename to x-pack/plugins/console_extensions/spec/generated/ml.get_records.json index e8159e97e1829..553b75f21c645 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_records.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.get_records.json @@ -1,12 +1,12 @@ { - "xpack.ml.get_records": { + "ml.get_records": { "url_params": { "exclude_interim": "__flag__", - "from": 0, - "size": 0, + "from": "", + "size": "", "start": "", "end": "", - "record_score": 0, + "record_score": "", "sort": "", "desc": "__flag__" }, @@ -15,7 +15,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/results/records" + "_ml/anomaly_detectors/{job_id}/results/records" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.info.json b/x-pack/plugins/console_extensions/spec/generated/ml.info.json similarity index 60% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.info.json rename to x-pack/plugins/console_extensions/spec/generated/ml.info.json index 6235f74cc6227..51b571776ead9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.info.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.info.json @@ -1,10 +1,10 @@ { - "xpack.ml.info": { + "ml.info": { "methods": [ "GET" ], "patterns": [ - "_xpack/ml/info" + "_ml/info" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.open_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.open_job.json similarity index 69% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.open_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.open_job.json index d45214d813005..cd330ec4822c0 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.open_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.open_job.json @@ -1,10 +1,10 @@ { - "xpack.ml.open_job": { + "ml.open_job": { "methods": [ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_open" + "_ml/anomaly_detectors/{job_id}/_open" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json b/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json new file mode 100644 index 0000000000000..89ce2df63315b --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json @@ -0,0 +1,10 @@ +{ + "ml.post_calendar_events": { + "methods": [ + "POST" + ], + "patterns": [ + "_ml/calendars/{calendar_id}/events" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_data.json b/x-pack/plugins/console_extensions/spec/generated/ml.post_data.json similarity index 76% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_data.json rename to x-pack/plugins/console_extensions/spec/generated/ml.post_data.json index 206d2e3e1c064..cc6f0b658e111 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_data.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.post_data.json @@ -1,5 +1,5 @@ { - "xpack.ml.post_data": { + "ml.post_data": { "url_params": { "reset_start": "", "reset_end": "" @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_data" + "_ml/anomaly_detectors/{job_id}/_data" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.preview_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.preview_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json index 9aeca7e1363a0..be3c3d466f37d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.preview_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json @@ -1,10 +1,10 @@ { - "xpack.ml.preview_datafeed": { + "ml.preview_datafeed": { "methods": [ "GET" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_preview" + "_ml/datafeeds/{datafeed_id}/_preview" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json similarity index 51% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_filter.json rename to x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json index 2a2c5815046d4..7452d1b4b9707 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_filter.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json @@ -1,10 +1,10 @@ { - "xpack.ml.put_filter": { + "ml.put_calendar": { "methods": [ "PUT" ], "patterns": [ - "_xpack/ml/filters/{filter_id}" + "_ml/calendars/{calendar_id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json new file mode 100644 index 0000000000000..08dc3d77b5f25 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json @@ -0,0 +1,10 @@ +{ + "ml.put_calendar_job": { + "methods": [ + "PUT" + ], + "patterns": [ + "_ml/calendars/{calendar_id}/jobs/{job_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json similarity index 71% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json index db5cb27f4a790..a61f9ab465724 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json @@ -1,10 +1,10 @@ { - "xpack.ml.put_datafeed": { + "ml.put_datafeed": { "methods": [ "PUT" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}" + "_ml/datafeeds/{datafeed_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json new file mode 100644 index 0000000000000..6d57c433d71f4 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json @@ -0,0 +1,10 @@ +{ + "ml.put_filter": { + "methods": [ + "PUT" + ], + "patterns": [ + "_ml/filters/{filter_id}" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.put_job.json similarity index 71% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.put_job.json index ecd8f59d77574..d8e38a0bd4b9d 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.put_job.json @@ -1,10 +1,10 @@ { - "xpack.ml.put_job": { + "ml.put_job": { "methods": [ "PUT" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}" + "_ml/anomaly_detectors/{job_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.revert_model_snapshot.json b/x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json similarity index 67% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.revert_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json index 9193cbb80d2fd..7b6d74d47a711 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.revert_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json @@ -1,5 +1,5 @@ { - "xpack.ml.revert_model_snapshot": { + "ml.revert_model_snapshot": { "url_params": { "delete_intervening_results": "__flag__" }, @@ -7,7 +7,7 @@ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert" + "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json b/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json new file mode 100644 index 0000000000000..ad1734033d9a5 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json @@ -0,0 +1,15 @@ +{ + "ml.set_upgrade_mode": { + "url_params": { + "enabled": "__flag__", + "timeout": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "_ml/set_upgrade_mode" + ], + "documentation": "TODO" + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.start_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json similarity index 76% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.start_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json index 40479c8c3f687..8171a792d7e33 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.start_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json @@ -1,5 +1,5 @@ { - "xpack.ml.start_datafeed": { + "ml.start_datafeed": { "url_params": { "start": "", "end": "", @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_start" + "_ml/datafeeds/{datafeed_id}/_start" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.stop_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json similarity index 78% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.stop_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json index 2af514532f16a..b10fed7010a7f 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.stop_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json @@ -1,5 +1,5 @@ { - "xpack.ml.stop_datafeed": { + "ml.stop_datafeed": { "url_params": { "allow_no_datafeeds": "__flag__", "force": "__flag__", @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_stop" + "_ml/datafeeds/{datafeed_id}/_stop" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_datafeed.json b/x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_datafeed.json rename to x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json index 953e08dd08c17..9c0d7502d2fbe 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_datafeed.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json @@ -1,10 +1,10 @@ { - "xpack.ml.update_datafeed": { + "ml.update_datafeed": { "methods": [ "POST" ], "patterns": [ - "_xpack/ml/datafeeds/{datafeed_id}/_update" + "_ml/datafeeds/{datafeed_id}/_update" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json b/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json new file mode 100644 index 0000000000000..3f48013c2be1c --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json @@ -0,0 +1,10 @@ +{ + "ml.update_filter": { + "methods": [ + "POST" + ], + "patterns": [ + "_ml/filters/{filter_id}/_update" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_job.json b/x-pack/plugins/console_extensions/spec/generated/ml.update_job.json similarity index 68% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_job.json rename to x-pack/plugins/console_extensions/spec/generated/ml.update_job.json index e3c8abf72d908..7276183b2e0c9 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.update_job.json @@ -1,10 +1,10 @@ { - "xpack.ml.update_job": { + "ml.update_job": { "methods": [ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/_update" + "_ml/anomaly_detectors/{job_id}/_update" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_model_snapshot.json b/x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json similarity index 59% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_model_snapshot.json rename to x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json index 848950d6f5394..80e533eb55826 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.update_model_snapshot.json +++ b/x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json @@ -1,10 +1,10 @@ { - "xpack.ml.update_model_snapshot": { + "ml.update_model_snapshot": { "methods": [ "POST" ], "patterns": [ - "_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update" + "_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.validate.json b/x-pack/plugins/console_extensions/spec/generated/ml.validate.json new file mode 100644 index 0000000000000..298c7cf6dce26 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.validate.json @@ -0,0 +1,10 @@ +{ + "ml.validate": { + "methods": [ + "POST" + ], + "patterns": [ + "_ml/anomaly_detectors/_validate" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json b/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json new file mode 100644 index 0000000000000..5e6d7daeea772 --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json @@ -0,0 +1,10 @@ +{ + "ml.validate_detector": { + "methods": [ + "POST" + ], + "patterns": [ + "_ml/anomaly_detectors/_validate/detector" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.monitoring.bulk.json b/x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json similarity index 73% rename from x-pack/plugins/console_extensions/spec/generated/xpack.monitoring.bulk.json rename to x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json index f98aa70ce7cd3..7cb56a9d79d6e 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.monitoring.bulk.json +++ b/x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json @@ -1,5 +1,5 @@ { - "xpack.monitoring.bulk": { + "monitoring.bulk": { "url_params": { "system_id": "", "system_api_version": "", @@ -10,8 +10,8 @@ "PUT" ], "patterns": [ - "_xpack/monitoring/_bulk", - "_xpack/monitoring/{type}/_bulk" + "_monitoring/bulk", + "_monitoring/{type}/bulk" ], "documentation": "http://www.elastic.co/guide/en/monitoring/current/appendix-api-bulk.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json index 4da7183b4d977..b44798013fe59 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json @@ -13,6 +13,6 @@ "patterns": [ "_security/privilege/{application}/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-delete-privilege.html" + "documentation": "TODO" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json index b833f69848e1f..4d2dce21c0c5f 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json @@ -6,6 +6,6 @@ "patterns": [ "_security/privilege/{application}/{name}" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-get-privileges.html" + "documentation": "TODO" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json index e5ada00828f73..1b939d2d9a29e 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json @@ -5,6 +5,7 @@ ], "patterns": [ "_security/user/_privileges" - ] + ], + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json b/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json index 4284ed9b54f1b..7ecffc780c066 100644 --- a/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json +++ b/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json @@ -14,6 +14,6 @@ "patterns": [ "_security/privilege/" ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-put-privileges.html" + "documentation": "TODO" } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json b/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json index f140af08686e2..b2a74408995d7 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json @@ -9,8 +9,8 @@ "POST" ], "patterns": [ - "{indices}/_xpack/graph/_explore", - "{indices}/{type}/_xpack/graph/_explore" + "{indices}/_graph/explore", + "{indices}/{type}/_graph/explore" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json index a60c3b8f70f5c..492a0403be62c 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json @@ -4,7 +4,7 @@ "DELETE" ], "patterns": [ - "_xpack/license" + "_license" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json index f9ca4bc285ecb..ccd7d7eb77914 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json @@ -7,7 +7,7 @@ "GET" ], "patterns": [ - "_xpack/license" + "_license" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json index c83cdd4a95a8d..5a5488208e218 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "_xpack/license/basic_status" + "_license/basic_status" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json index cd79e6fdc2c1e..251d899febf53 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "_xpack/license/trial_status" + "_license/trial_status" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json index 6c5e2c65a56d6..79be105710904 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_xpack/license" + "_license" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json index 27da929b25eab..fb858a65c2322 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json @@ -7,7 +7,7 @@ "POST" ], "patterns": [ - "_xpack/license/start_basic" + "_license/start_basic" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json index 905b8b324d5ef..bd3eaf476e022 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json @@ -8,7 +8,7 @@ "POST" ], "patterns": [ - "_xpack/license/start_trial" + "_license/start_trial" ], "documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json index d8dbea2c53d7a..dad2695f0d14c 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json @@ -4,8 +4,8 @@ "GET" ], "patterns": [ - "_xpack/migration/deprecations", - "{indices}/_xpack/migration/deprecations" + "_migration/deprecations", + "{indices}/_migration/deprecations" ], "documentation": "http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json index dcd81df3770a2..4cc068ce2e460 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json @@ -14,8 +14,8 @@ "GET" ], "patterns": [ - "_xpack/migration/assistance", - "_xpack/migration/assistance/{indices}" + "_migration/assistance", + "_migration/assistance/{indices}" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json index 331a93f176320..93186f31a0876 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json @@ -7,7 +7,7 @@ "POST" ], "patterns": [ - "_xpack/migration/upgrade/{indices}" + "_migration/upgrade/{indices}" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json deleted file mode 100644 index d5e47c1d78c7c..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.delete_calendar": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json deleted file mode 100644 index 2be7a261b1d20..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_event.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.delete_calendar_event": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}/events/{event_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json deleted file mode 100644 index 7d3716f9ebfea..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_calendar_job.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.delete_calendar_job": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}/jobs/{job_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json deleted file mode 100644 index e8c04ff315731..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.delete_expired_data.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.delete_expired_data": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/ml/_delete_expired_data" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json deleted file mode 100644 index 0b014b7f000e5..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_calendars.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "xpack.ml.get_calendars": { - "url_params": { - "from": 0, - "size": 0 - }, - "methods": [ - "GET", - "POST" - ], - "patterns": [ - "_xpack/ml/calendars", - "_xpack/ml/calendars/{calendar_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json deleted file mode 100644 index 0e33294934ba4..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.get_filters.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "xpack.ml.get_filters": { - "url_params": { - "from": 0, - "size": 0 - }, - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/ml/filters", - "_xpack/ml/filters/{filter_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json deleted file mode 100644 index ec580842f5120..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.post_calendar_events.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.post_calendar_events": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}/events" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json deleted file mode 100644 index 706373c53e852..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.put_calendar": { - "methods": [ - "PUT" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json deleted file mode 100644 index 98a4db0bf0e0e..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.put_calendar_job.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.put_calendar_job": { - "methods": [ - "PUT" - ], - "patterns": [ - "_xpack/ml/calendars/{calendar_id}/jobs/{job_id}" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json deleted file mode 100644 index 9af94e51db0f5..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.validate": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/ml/anomaly_detectors/_validate" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json deleted file mode 100644 index de0d19b09619a..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ml.validate_detector.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "xpack.ml.validate_detector": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/ml/anomaly_detectors/_validate/detector" - ] - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json index a7c381c2ee7f9..586ebd6ff6723 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json @@ -4,7 +4,7 @@ "DELETE" ], "patterns": [ - "_xpack/rollup/job/{id}" + "_rollup/job/{id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json index 54c535f3a81f7..657b68fc214b0 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json @@ -4,8 +4,8 @@ "GET" ], "patterns": [ - "_xpack/rollup/job/{id}", - "_xpack/rollup/job/" + "_rollup/job/{id}", + "_rollup/job/" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json index f619949e63be1..a8145f69eb50b 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json @@ -4,8 +4,8 @@ "GET" ], "patterns": [ - "_xpack/rollup/data/{id}", - "_xpack/rollup/data/" + "_rollup/data/{id}", + "_rollup/data/" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json new file mode 100644 index 0000000000000..e2f94ae5648ec --- /dev/null +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json @@ -0,0 +1,10 @@ +{ + "xpack.rollup.get_rollup_index_caps": { + "methods": [ + "GET" + ], + "patterns": [ + "{indices}/_rollup/data" + ] + } +} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json index d55fe948c450c..e36ec37c93b68 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json @@ -4,7 +4,7 @@ "PUT" ], "patterns": [ - "_xpack/rollup/job/{id}" + "_rollup/job/{id}" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json index 544d86249b40d..f6a8caff17201 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json @@ -1,5 +1,9 @@ { "xpack.rollup.rollup_search": { + "url_params": { + "typed_keys": "__flag__", + "rest_total_hits_as_int": "__flag__" + }, "methods": [ "GET", "POST" diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json index 7a1323f1f79b3..e7b1f48f8cdf5 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_xpack/rollup/job/{id}/_start" + "_rollup/job/{id}/_start" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json index e185077e35f16..58706694e2ff4 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json @@ -1,10 +1,14 @@ { "xpack.rollup.stop_job": { + "url_params": { + "wait_for_completion": "__flag__", + "timeout": "" + }, "methods": [ "POST" ], "patterns": [ - "_xpack/rollup/job/{id}/_stop" + "_rollup/job/{id}/_stop" ] } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json deleted file mode 100644 index 6ebef7ce874d9..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.authenticate.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.security.authenticate": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/security/_authenticate" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json deleted file mode 100644 index a811501e4d71f..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.change_password.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "xpack.security.change_password": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/user/{username}/_password", - "_xpack/security/user/_password" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json deleted file mode 100644 index 2ef0bfaf79df1..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_realms.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "xpack.security.clear_cached_realms": { - "url_params": { - "usernames": [] - }, - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/security/realm/{realms}/_clear_cache" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json deleted file mode 100644 index 47baad3ef989f..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.clear_cached_roles.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.security.clear_cached_roles": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/security/role/{name}/_clear_cache" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json deleted file mode 100644 index ad95ac444ef98..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "xpack.security.delete_role": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/security/role/{name}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json deleted file mode 100644 index 0734c784b80f8..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_role_mapping.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "xpack.security.delete_role_mapping": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/security/role_mapping/{name}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json deleted file mode 100644 index 732721143503e..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.delete_user.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "xpack.security.delete_user": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/security/user/{username}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json deleted file mode 100644 index b9151cf3685a1..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.disable_user.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.disable_user": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/user/{username}/_disable" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json deleted file mode 100644 index 12d1b3c7cf0bb..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.enable_user.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.enable_user": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/user/{username}/_enable" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json deleted file mode 100644 index e4b887e3d9329..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "xpack.security.get_role": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/security/role/{name}", - "_xpack/security/role" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json deleted file mode 100644 index 45c935277c865..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_role_mapping.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "xpack.security.get_role_mapping": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/security/role_mapping/{name}", - "_xpack/security/role_mapping" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json deleted file mode 100644 index 208d6e31346b7..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_token.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.security.get_token": { - "methods": [ - "POST" - ], - "patterns": [ - "_xpack/security/oauth2/token" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json deleted file mode 100644 index d42d1afbb91c9..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.get_user.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "xpack.security.get_user": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/security/user/{username}", - "_xpack/security/user" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json deleted file mode 100644 index e9ffac7bd5f92..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.invalidate_token.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.security.invalidate_token": { - "methods": [ - "DELETE" - ], - "patterns": [ - "_xpack/security/oauth2/token" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json deleted file mode 100644 index 6cc3523f8b647..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.put_role": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/role/{name}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json deleted file mode 100644 index 7a426c420fffd..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_role_mapping.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.put_role_mapping": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/role_mapping/{name}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json b/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json deleted file mode 100644 index 19a13b37c7d91..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.security.put_user.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "xpack.security.put_user": { - "url_params": { - "refresh": [ - "true", - "false", - "wait_for" - ] - }, - "methods": [ - "PUT", - "POST" - ], - "patterns": [ - "_xpack/security/user/{username}" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json index f1b357e909bd6..037df31e3277a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_xpack/sql/close" + "_sql/close" ], "documentation": "Clear SQL cursor" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json index 20b8502f79bfc..6f1f9fda541a6 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json @@ -8,7 +8,7 @@ "GET" ], "patterns": [ - "_xpack/sql" + "_sql" ], "documentation": "Execute SQL" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json index 737a57f9f5ca6..32f49659194a1 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json @@ -5,7 +5,7 @@ "GET" ], "patterns": [ - "_xpack/sql/translate" + "_sql/translate" ], "documentation": "Translate SQL into Elasticsearch queries" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json b/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json deleted file mode 100644 index 0a4b60b6766e4..0000000000000 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xpack.ssl.certificates": { - "methods": [ - "GET" - ], - "patterns": [ - "_xpack/ssl/certificates" - ], - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html" - } -} diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json index 53edb6183e2d9..acda1c9e716dd 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json @@ -5,8 +5,8 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{watch_id}/_ack", - "_xpack/watcher/watch/{watch_id}/_ack/{action_id}" + "_watcher/watch/{watch_id}/_ack", + "_watcher/watch/{watch_id}/_ack/{action_id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json index 57a1804b8918d..d69d581f01195 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json @@ -5,7 +5,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{watch_id}/_activate" + "_watcher/watch/{watch_id}/_activate" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json index dd1bf97787855..2bc0ad6d9df21 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json @@ -5,7 +5,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{watch_id}/_deactivate" + "_watcher/watch/{watch_id}/_deactivate" ], "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json index 555e76fb9de2e..5f4ca7c6d464a 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json @@ -4,7 +4,7 @@ "DELETE" ], "patterns": [ - "_xpack/watcher/watch/{id}" + "_watcher/watch/{id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json index 2c64b9b842038..3697792424e26 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json @@ -8,8 +8,8 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{id}/_execute", - "_xpack/watcher/watch/_execute" + "_watcher/watch/{id}/_execute", + "_watcher/watch/_execute" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json index fc2a7d862fd9a..53aedbba8a5b4 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json @@ -4,7 +4,7 @@ "GET" ], "patterns": [ - "_xpack/watcher/watch/{id}" + "_watcher/watch/{id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json index bc6951d058f74..ac24ba1599263 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json @@ -9,7 +9,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/watch/{id}" + "_watcher/watch/{id}" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json index 769b9e4e9c941..489965e741944 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/_start" + "_watcher/_start" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html" } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json index 1a1df49a44c74..4cb7413484f2f 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json @@ -4,6 +4,7 @@ "metric": [ "_all", "queued_watches", + "current_watches", "pending_watches" ], "emit_stacktraces": "__flag__" @@ -12,16 +13,17 @@ "GET" ], "patterns": [ - "_xpack/watcher/stats", - "_xpack/watcher/stats/{metrics}" + "_watcher/stats", + "_watcher/stats/{metrics}" ], + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html", "url_components": { "metrics": [ "_all", + "current_watches", "pending_watches", "queued_watches" ] - }, - "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html" + } } } diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json index 85e9c63158109..4e5b3f4c52dcf 100644 --- a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json +++ b/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json @@ -4,7 +4,7 @@ "POST" ], "patterns": [ - "_xpack/watcher/_stop" + "_watcher/_stop" ], "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html" }