diff --git a/plugins/examples/rest-handler/src/test/resources/rest-api-spec/api/cat.example.json b/plugins/examples/rest-handler/src/test/resources/rest-api-spec/api/cat.example.json index e42617eef7b..50b31f50bee 100644 --- a/plugins/examples/rest-handler/src/test/resources/rest-api-spec/api/cat.example.json +++ b/plugins/examples/rest-handler/src/test/resources/rest-api-spec/api/cat.example.json @@ -3,7 +3,6 @@ "documentation": "", "methods": ["GET"], "url": { - "path": "/_cat/example", "paths": ["/_cat/example"], "parts": {}, "params": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json b/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json index a07f362bef0..4cd34532afd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html", "methods": ["POST", "PUT"], "url": { - "path": "/_bulk", "paths": ["/_bulk", "/{index}/_bulk", "/{index}/{type}/_bulk"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json index d30c6ace6f7..a488e17689c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html", "methods": ["GET"], "url": { - "path": "/_cat/aliases", "paths": ["/_cat/aliases", "/_cat/aliases/{name}"], "parts": { "name": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json index 7c826890607..e592f0f87be 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html", "methods": ["GET"], "url": { - "path": "/_cat/allocation", "paths": ["/_cat/allocation", "/_cat/allocation/{node_id}"], "parts": { "node_id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json index 4311d9a3be1..2c9c0866c92 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html", "methods": ["GET"], "url": { - "path": "/_cat/count", "paths": ["/_cat/count", "/_cat/count/{index}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json index 88c7eee1262..cb0a4470011 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html", "methods": ["GET"], "url": { - "path": "/_cat/fielddata", "paths": ["/_cat/fielddata", "/_cat/fielddata/{fields}"], "parts": { "fields": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json index e858e83b465..561f0c0d6c4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html", "methods": ["GET"], "url": { - "path": "/_cat/health", "paths": ["/_cat/health"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json index e893fb1b044..2fd67e53e0a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html", "methods": ["GET"], "url": { - "path": "/_cat", "paths": ["/_cat"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json index 24961a57cf3..9a33d02a6a7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html", "methods": ["GET"], "url": { - "path": "/_cat/indices", "paths": ["/_cat/indices", "/_cat/indices/{index}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json index ab87b2adb7e..1aed758ae8d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html", "methods": ["GET"], "url": { - "path": "/_cat/master", "paths": ["/_cat/master"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json index 3d8a4a77a77..b5360ea0737 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html", "methods": ["GET"], "url": { - "path": "/_cat/nodeattrs", "paths": ["/_cat/nodeattrs"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json index 1b3c1266a63..159edf434a0 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html", "methods": ["GET"], "url": { - "path": "/_cat/nodes", "paths": ["/_cat/nodes"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json index 983b82482ae..e3e107ef57a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html", "methods": ["GET"], "url": { - "path": "/_cat/pending_tasks", "paths": ["/_cat/pending_tasks"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json index 93c7feababa..53e192f3c93 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html", "methods": ["GET"], "url": { - "path": "/_cat/plugins", "paths": ["/_cat/plugins"], "params": { "format": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json index 42f91cedfdd..ad52aec1549 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html", "methods": ["GET"], "url": { - "path": "/_cat/recovery", "paths": ["/_cat/recovery", "/_cat/recovery/{index}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json index c640a568fde..7387c6a74ff 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html", "methods": ["GET"], "url": { - "path": "/_cat/repositories", "paths": ["/_cat/repositories"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json index 3306b2f753b..e8eb65311b4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html", "methods": ["GET"], "url": { - "path": "/_cat/segments", "paths": ["/_cat/segments", "/_cat/segments/{index}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json index 2ad714e7225..246b098c65b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html", "methods": ["GET"], "url": { - "path": "/_cat/shards", "paths": ["/_cat/shards", "/_cat/shards/{index}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json index eec22e2e041..8cd90d608be 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html", "methods": ["GET"], "url": { - "path": "/_cat/snapshots", "paths": [ "/_cat/snapshots", "/_cat/snapshots/{repository}"], diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json index 1958843e601..58471aa8ee6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html", "methods": ["GET"], "url": { - "path": "/_cat/tasks", "paths": ["/_cat/tasks"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json index f0757c2d652..85486ec47ba 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html", "methods": ["GET"], "url": { - "path": "/_cat/templates", "paths": ["/_cat/templates", "/_cat/templates/{name}"], "parts": { "name": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json index 70a11000bbe..1dfe94dd771 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html", "methods": ["GET"], "url": { - "path": "/_cat/thread_pool", "paths": ["/_cat/thread_pool","/_cat/thread_pool/{thread_pool_patterns}"], "parts": { "thread_pool_patterns": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json b/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json index b2b0343230c..b3be596f68d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html", "methods": ["DELETE"], "url": { - "path": "/_search/scroll", "paths": [ "/_search/scroll"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json index 26b24cfb697..b4d515d8f3e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html", "methods": ["GET", "POST"], "url": { - "path": "/_cluster/allocation/explain", "paths": ["/_cluster/allocation/explain"], "parts": {}, "params": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json index baba4e3436a..b6be87d19a1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html", "methods": ["GET"], "url": { - "path": "/_cluster/settings", "paths": ["/_cluster/settings"], "parts": {}, "params": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json index 49d0ef5c83a..f36920b9def 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html", "methods": ["GET"], "url": { - "path": "/_cluster/health", "paths": ["/_cluster/health", "/_cluster/health/{index}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json index fb5e1609ff3..66d2e39646a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html", "methods": ["GET"], "url": { - "path": "/_cluster/pending_tasks", "paths": ["/_cluster/pending_tasks"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json index 5fcf0310283..a3cbb4bf2a3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html", "methods": ["PUT"], "url": { - "path": "/_cluster/settings", "paths": ["/_cluster/settings"], "parts": {}, "params": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json index 32378531544..e1254520f12 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html", "methods": ["GET"], "url": { - "path": "/_remote/info", "paths": ["/_remote/info"], "params": {} }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json index 8bb85ca087a..b59de5f6e96 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html", "methods": ["POST"], "url": { - "path": "/_cluster/reroute", "paths": ["/_cluster/reroute"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json index fec3f450004..298614ec957 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html", "methods": ["GET"], "url": { - "path": "/_cluster/state", "paths": [ "/_cluster/state", "/_cluster/state/{metric}", diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json index 36400ed2f7c..6adcebfbdd5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html", "methods": ["GET"], "url": { - "path": "/_cluster/stats", "paths": ["/_cluster/stats", "/_cluster/stats/nodes/{node_id}"], "parts": { "node_id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/count.json b/rest-api-spec/src/main/resources/rest-api-spec/api/count.json index b933091b9a4..f9fd895add8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/count.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/count.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html", "methods": ["POST", "GET"], "url": { - "path": "/_count", "paths": ["/_count", "/{index}/_count"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/create.json index 65fcf02807b..389cb23ee3b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/create.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html", "methods": ["PUT","POST"], "url": { - "path": "/{index}/_create/{id}", "paths": ["/{index}/_create/{id}"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json index 01523740288..f526703f3fb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html", "methods": ["DELETE"], "url": { - "path": "/{index}/_doc/{id}", "paths": ["/{index}/_doc/{id}"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json index 79693f8f122..c3c2a8d6ab6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html", "methods": ["POST"], "url": { - "path": "/{index}/_delete_by_query", "paths": ["/{index}/_delete_by_query"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json index f49af01cfc3..3d9a516fca2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html", "methods": ["POST"], "url": { - "path": "/_delete_by_query/{task_id}/_rethrottle", "paths": ["/_delete_by_query/{task_id}/_rethrottle"], "parts": { "task_id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json index 83bb690cc04..a64f4465f2e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "methods": ["DELETE"], "url": { - "path": "/_scripts/{id}", "paths": [ "/_scripts/{id}" ], "parts": { "id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json b/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json index 2a451344521..610128ca413 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "methods": ["HEAD"], "url": { - "path": "/{index}/_doc/{id}", "paths": ["/{index}/_doc/{id}"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json b/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json index 30e56141ec0..ec20a734b0e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "methods": ["HEAD"], "url": { - "path": "/{index}/_source/{id}", "paths": ["/{index}/_source/{id}"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json b/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json index 203ef23c9cc..21ca4416c5f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html", "methods": ["GET", "POST"], "url": { - "path": "/{index}/_explain/{id}", "paths": ["/{index}/_explain/{id}"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json b/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json index ebb520fd433..878527f4da6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html", "methods": ["GET", "POST"], "url": { - "path": "/_field_caps", "paths": [ "/_field_caps", "/{index}/_field_caps" diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get.json index f4e0fdd5f90..fca588ef464 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "methods": ["GET"], "url": { - "path": "/{index}/_doc/{id}", "paths": ["/{index}/_doc/{id}"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json index 0b2d6c5a5b9..50f781f3aac 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "methods": ["GET"], "url": { - "path": "/_scripts/{id}", "paths": [ "/_scripts/{id}" ], "parts": { "id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json index d6f6964aa7c..e8d9a3fc083 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "methods": ["GET"], "url": { - "path": "/{index}/_source/{id}", "paths": ["/{index}/_source/{id}"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/index.json index 438032980a3..cfce1f9d23d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/index.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html", "methods": ["POST", "PUT"], "url": { - "path": "/{index}/_doc", "paths": ["/{index}/_doc/{id}", "/{index}/_doc"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json index c340ccd2f37..0ef21cd789f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html", "methods": ["GET", "POST"], "url": { - "path": "/_analyze", "paths": ["/_analyze", "/{index}/_analyze"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json index 7e62371dd67..54b299afb53 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html", "methods": ["POST"], "url": { - "path": "/_cache/clear", "paths": ["/_cache/clear", "/{index}/_cache/clear"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json index 55fd245f26c..57ca0e7bd9e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html", "methods": ["POST"], "url": { - "path": "/{index}/_close", "paths": ["/{index}/_close"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json index d4a16e576e1..9c9ce428b13 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html", "methods": ["PUT"], "url": { - "path": "/{index}", "paths": ["/{index}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json index c391242e9de..3eb87ee9c0b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html", "methods": ["DELETE"], "url": { - "path": "/{index}", "paths": ["/{index}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json index 30a32fbfef8..27d461219ae 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "methods": ["DELETE"], "url": { - "path": "/{index}/_alias/{name}", "paths": ["/{index}/_alias/{name}", "/{index}/_aliases/{name}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json index b311c9bbda8..290687d9edc 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", "methods": ["DELETE"], "url": { - "path": "/_template/{name}", "paths": ["/_template/{name}"], "parts": { "name": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json index 7f04f00b40d..022cecf4504 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html", "methods": [ "HEAD" ], "url": { - "path": "/{index}", "paths": [ "/{index}" ], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json index aea20b2b634..33e1d7be0e6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "methods": ["HEAD"], "url": { - "path": "/_alias/{name}", "paths": ["/_alias/{name}", "/{index}/_alias/{name}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json index 3fb9d1e207e..385c62f6d50 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", "methods": ["HEAD"], "url": { - "path": "/_template/{name}", "paths": [ "/_template/{name}" ], "parts": { "name": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json index a788202c93a..66ce68e3ad2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json @@ -7,7 +7,6 @@ "description" : "Types are being removed from elasticsearch and therefor this API is on the way out. Read more here: https://www.elastic.co/guide/en/elasticsearch/reference/master/removal-of-types.html" }, "url": { - "path": "/{index}/_mapping/{type}", "paths": ["/{index}/_mapping/{type}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json index 77d9e037163..fe9a528abdf 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html", "methods": ["POST", "GET"], "url": { - "path": "/_flush", "paths": ["/_flush", "/{index}/_flush"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json index 08488eae864..220ff7d0100 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html", "methods": ["POST", "GET"], "url": { - "path": "/_flush/synced", "paths": [ "/_flush/synced", "/{index}/_flush/synced" diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json index d87ce2a4451..b6796721613 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html", "methods": ["POST"], "url": { - "path": "/_forcemerge", "paths": ["/_forcemerge", "/{index}/_forcemerge"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json index 76e6ed00feb..659adf2febb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json @@ -3,7 +3,6 @@ "documentation":"http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html", "methods":[ "GET" ], "url":{ - "path":"/{index}", "paths":[ "/{index}" ], "parts":{ "index":{ diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json index b68d7c527fc..a68cf00a38a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "methods": ["GET"], "url": { - "path": "/_alias/", "paths": [ "/_alias", "/_alias/{name}", "/{index}/_alias/{name}", "/{index}/_alias"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json index 305cb700cea..28b336c14ba 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html", "methods": ["GET"], "url": { - "path": "/_mapping/field/{fields}", "paths": ["/_mapping/field/{fields}", "/{index}/_mapping/field/{fields}"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json index abfc3d3867e..024f2693212 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html", "methods": ["GET"], "url": { - "path": "/_mapping", "paths": ["/_mapping", "/{index}/_mapping"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json index ed22cc837d6..ee0fd433e77 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html", "methods": ["GET"], "url": { - "path": "/_settings", "paths": ["/_settings", "/{index}/_settings", "/{index}/_settings/{name}", "/_settings/{name}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json index e2aae3b7444..06cc693275f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", "methods": ["GET"], "url": { - "path": "/_template/{name}", "paths": [ "/_template", "/_template/{name}" diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_upgrade.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_upgrade.json index 3c114a450ee..92a25a8e9c8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_upgrade.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_upgrade.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html", "methods": ["GET"], "url": { - "path": "/_upgrade", "paths": ["/_upgrade", "/{index}/_upgrade"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json index 86c39988e18..a617000f072 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html", "methods": ["POST"], "url": { - "path": "/{index}/_open", "paths": ["/{index}/_open"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json index da53d5ac441..c0da2fdca44 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "methods": ["PUT", "POST"], "url": { - "path": "/{index}/_alias/{name}", "paths": ["/{index}/_alias/{name}", "/{index}/_aliases/{name}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json index c46e6b15549..942db010c61 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html", "methods": ["PUT", "POST"], "url": { - "path": "{index}/_mapping", "paths": ["{index}/_mapping"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json index 3055cb8e32e..5dfc4529bfa 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html", "methods": ["PUT"], "url": { - "path": "/_settings", "paths": ["/_settings", "/{index}/_settings"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json index 65aa9506ff9..b6605e33b54 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", "methods": ["PUT", "POST"], "url": { - "path": "/_template/{name}", "paths": ["/_template/{name}"], "parts": { "name": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json index 80b7f1a0009..517c85eb61b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html", "methods": ["GET"], "url": { - "path": "/_recovery", "paths": ["/_recovery", "/{index}/_recovery"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json index a32974d017f..ebfc3a68982 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html", "methods": ["POST", "GET"], "url": { - "path": "/_refresh", "paths": ["/_refresh", "/{index}/_refresh"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json index 7bf1513969f..49f1c0197e8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html", "methods": ["POST"], "url": { - "path": "/{alias}/_rollover", "paths": ["/{alias}/_rollover", "/{alias}/_rollover/{new_index}"], "parts": { "alias": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json index 3ecf1b23aae..73abcb76d28 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html", "methods": ["GET"], "url": { - "path": "/_segments", "paths": ["/_segments", "/{index}/_segments"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json index ecdaa75a3a9..ce9dee96bb1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html", "methods": ["GET"], "url": { - "path": "/_shard_stores", "paths": ["/_shard_stores", "/{index}/_shard_stores"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json index f92421b79ae..c435b5dc911 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html", "methods": ["PUT", "POST"], "url": { - "path": "/{index}/_shrink/{target}", "paths": ["/{index}/_shrink/{target}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json index 2c14fced28c..a25063a919f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html", "methods": ["PUT", "POST"], "url": { - "path": "/{index}/_split/{target}", "paths": ["/{index}/_split/{target}"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json index c86a2c1147a..f583045333c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html", "methods": ["GET"], "url": { - "path": "/_stats", "paths": [ "/_stats", "/_stats/{metric}", diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json index 30c369e410a..93fe4828516 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "methods": ["POST"], "url": { - "path": "/_aliases", "paths": ["/_aliases"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json index 1e2413ee723..7c7454870c8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html", "methods": ["POST"], "url": { - "path": "/_upgrade", "paths": ["/_upgrade", "/{index}/_upgrade"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json index 6f1395b1582..26c9082f807 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html", "methods": ["GET", "POST"], "url": { - "path": "/_validate/query", "paths": ["/_validate/query", "/{index}/_validate/query"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/info.json index 63754eb7f7c..42effd30bd9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/info.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/info.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/", "methods": ["GET"], "url": { - "path": "/", "paths": ["/"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json index c3b51de8620..f8b783a8151 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html", "methods": [ "DELETE" ], "url": { - "path": "/_ingest/pipeline/{id}", "paths": [ "/_ingest/pipeline/{id}" ], "parts": { "id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json index 16a07e072b7..3078d226c9b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html", "methods": [ "GET" ], "url": { - "path": "/_ingest/pipeline/{id}", "paths": [ "/_ingest/pipeline", "/_ingest/pipeline/{id}" ], "parts": { "id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json index bf40be853e2..06471e1c1f5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get", "methods": [ "GET" ], "url": { - "path": "/_ingest/processor/grok", "paths": ["/_ingest/processor/grok"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json index 1ea77901d8d..124e254dd2e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html", "methods": [ "PUT" ], "url": { - "path": "/_ingest/pipeline/{id}", "paths": [ "/_ingest/pipeline/{id}" ], "parts": { "id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json index c16008ad6b6..14f221c0b00 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html", "methods": [ "GET", "POST" ], "url": { - "path": "/_ingest/pipeline/_simulate", "paths": [ "/_ingest/pipeline/_simulate", "/_ingest/pipeline/{id}/_simulate" ], "parts": { "id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json b/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json index c04fb34beac..9f42e81591b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html", "methods": ["GET", "POST"], "url": { - "path": "/_mget", "paths": ["/_mget", "/{index}/_mget"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json index 9c416e84136..d4b08c459a0 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html", "methods": ["GET", "POST"], "url": { - "path": "/_msearch", "paths": ["/_msearch", "/{index}/_msearch"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json index 87aa6b22b8d..263cb7ce531 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html", "methods": ["GET", "POST"], "url": { - "path": "/_msearch/template", "paths": ["/_msearch/template", "/{index}/_msearch/template"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json b/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json index d41bfa3b1c1..484a87a49e1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json @@ -3,7 +3,6 @@ "documentation" : "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html", "methods" : ["GET", "POST"], "url" : { - "path" : "/_mtermvectors", "paths" : ["/_mtermvectors", "/{index}/_mtermvectors"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json index 95df4f53aa5..298d6c43b17 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html", "methods": ["GET"], "url": { - "path": "/_nodes/hot_threads", "paths": ["/_nodes/hot_threads", "/_nodes/{node_id}/hot_threads"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json index c86d35dc1a9..842a4bc398c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html", "methods": ["GET"], "url": { - "path": "/_nodes", "paths": ["/_nodes", "/_nodes/{node_id}", "/_nodes/{metric}", "/_nodes/{node_id}/{metric}"], "parts": { "node_id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json index 0a566df35bb..fcc518fe5d2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings", "methods": ["POST"], "url": { - "path": "/_nodes/reload_secure_settings", "paths": ["/_nodes/reload_secure_settings", "/_nodes/{node_id}/reload_secure_settings"], "parts": { "node_id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json index 7b426d03918..c51748636ee 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html", "methods": ["GET"], "url": { - "path": "/_nodes/stats", "paths": [ "/_nodes/stats", "/_nodes/{node_id}/stats", diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json index 97c3f201f6c..64b0d071f91 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html", "methods": ["GET"], "url": { - "path": "/_nodes/usage", "paths": [ "/_nodes/usage", "/_nodes/{node_id}/usage", diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json index 41310bb30d4..61b17c7ddbb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/", "methods": ["HEAD"], "url": { - "path": "/", "paths": ["/"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json index 34bd4f63c28..b01995feb66 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "methods": ["PUT", "POST"], "url": { - "path": "/_scripts/{id}", "paths": [ "/_scripts/{id}", "/_scripts/{id}/{context}" ], "parts": { "id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json b/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json index 5c9cebf7411..4b45b0c2e86 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html", "methods": ["GET", "POST"], "url": { - "path": "/_rank_eval", "paths": ["/_rank_eval", "/{index}/_rank_eval"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json index 34449cf9c6f..35f7949f935 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html", "methods": ["POST"], "url": { - "path": "/_reindex", "paths": ["/_reindex"], "parts": {}, "params": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json index 2763eb8983f..b1620da35a3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html", "methods": ["POST"], "url": { - "path": "/_reindex/{task_id}/_rethrottle", "paths": ["/_reindex/{task_id}/_rethrottle"], "parts": { "task_id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json index 8f27c12b819..fe61c39c84d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json @@ -3,7 +3,6 @@ "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html", "methods": ["GET", "POST"], "url": { - "path": "/_render/template", "paths": [ "/_render/template", "/_render/template/{id}" ], "parts": { "id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_context.json b/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_context.json index 1eb490e8ab5..52614ce9362 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_context.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_context.json @@ -2,7 +2,6 @@ "scripts_painless_context": { "methods": ["GET"], "url": { - "path": "/_scripts/painless/_context", "paths": ["/_scripts/painless/_context"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json b/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json index c02627cfd87..e7d8a121413 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html", "methods": ["GET", "POST"], "url": { - "path": "/_scripts/painless/_execute", "paths": ["/_scripts/painless/_execute"], "parts": { }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json b/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json index 31e02a172fd..b0618881554 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html", "methods": ["GET", "POST"], "url": { - "path": "/_search/scroll", "paths": ["/_search/scroll"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/search.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search.json index 00ed8d113a0..066f34621d3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/search.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/search.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html", "methods": ["GET", "POST"], "url": { - "path": "/_search", "paths": ["/_search", "/{index}/_search"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json index b3de107b797..3db4bf6244e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html", "methods": ["GET", "POST"], "url": { - "path": "/{index}/_search_shards", "paths": ["/_search_shards", "/{index}/_search_shards"], "parts": { "index": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json index 5395e4f59c1..ce6214c9a08 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html", "methods": ["GET", "POST"], "url": { - "path": "/_search/template", "paths": ["/_search/template", "/{index}/_search/template"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json index 29ae2206c85..a34cb61e6b8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["PUT", "POST"], "url": { - "path": "/_snapshot/{repository}/{snapshot}", "paths": ["/_snapshot/{repository}/{snapshot}"], "parts": { "repository": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json index 7a73f6abc3c..0efaf26acb6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["PUT", "POST"], "url": { - "path": "/_snapshot/{repository}", "paths": ["/_snapshot/{repository}"], "parts": { "repository": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json index 6668289f442..68637110537 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["DELETE"], "url": { - "path": "/_snapshot/{repository}/{snapshot}", "paths": ["/_snapshot/{repository}/{snapshot}"], "parts": { "repository": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json index 4f0c43b8f03..fb25c55ef84 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["DELETE"], "url": { - "path": "/_snapshot/{repository}", "paths": ["/_snapshot/{repository}"], "parts": { "repository": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json index 02f5259bc2e..1241d35f290 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["GET"], "url": { - "path": "/_snapshot/{repository}/{snapshot}", "paths": ["/_snapshot/{repository}/{snapshot}"], "parts": { "repository": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json index bf6a6601461..81b6f6edead 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["GET"], "url": { - "path": "/_snapshot", "paths": ["/_snapshot", "/_snapshot/{repository}"], "parts": { "repository": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json index bdd265799ce..e46e2d56128 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["POST"], "url": { - "path": "/_snapshot/{repository}/{snapshot}/_restore", "paths": ["/_snapshot/{repository}/{snapshot}/_restore"], "parts": { "repository": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json index cba488de793..d5d951ba4e2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["GET"], "url": { - "path": "/_snapshot/_status", "paths": ["/_snapshot/_status", "/_snapshot/{repository}/_status", "/_snapshot/{repository}/{snapshot}/_status"], "parts": { "repository": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json index 0d9a97c1087..a477d4f284c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["POST"], "url": { - "path": "/_snapshot/{repository}/_verify", "paths": ["/_snapshot/{repository}/_verify"], "parts": { "repository": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json index 244ca986f9b..098acb08cb7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html", "methods": ["POST"], "url": { - "path": "/_tasks", "paths": ["/_tasks/_cancel", "/_tasks/{task_id}/_cancel"], "parts": { "task_id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json index 3fefdb8f965..808a09964b9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html", "methods": ["GET"], "url": { - "path": "/_tasks/{task_id}", "paths": ["/_tasks/{task_id}"], "parts": { "task_id": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json index f16967eafeb..0302598a6e7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html", "methods": ["GET"], "url": { - "path": "/_tasks", "paths": ["/_tasks"], "parts": {}, "params": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json b/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json index ca85d4f7162..43481b3a0a5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json @@ -3,7 +3,6 @@ "documentation" : "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html", "methods" : ["GET", "POST"], "url" : { - "path" : "/{index}/_termvectors/{id}", "paths" : ["/{index}/_termvectors/{id}", "/{index}/_termvectors"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json index 02435190674..9a4aa3769f6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html", "methods": ["POST"], "url": { - "path": "/{index}/_update/{id}", "paths": ["/{index}/_update/{id}"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json index 8be5d1b6f08..3ad3a43ffc4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html", "methods": ["POST"], "url": { - "path": "/{index}/_update_by_query", "paths": ["/{index}/_update_by_query"], "deprecated_paths" : [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json index 9ec2540b430..9a14c777499 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html", "methods": ["POST"], "url": { - "path": "/_update_by_query/{task_id}/_rethrottle", "paths": ["/_update_by_query/{task_id}/_rethrottle"], "parts": { "task_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json index 735387b173b..6aed24aa7d1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html", "methods": [ "DELETE" ], "url": { - "path": "/_ccr/auto_follow/{name}", "paths": [ "/_ccr/auto_follow/{name}" ], "parts": { "name": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json index 588dd602612..af09d82dbf8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html", "methods": [ "PUT" ], "url": { - "path": "/{index}/_ccr/follow", "paths": [ "/{index}/_ccr/follow" ], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json index 87fd387edc1..e4c665705db 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html", "methods": [ "GET" ], "url": { - "path": "/{index}/_ccr/info", "paths": [ "/{index}/_ccr/info" ], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json index de4bb66056b..8c92b1dc6d5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html", "methods": [ "GET" ], "url": { - "path": "/{index}/_ccr/stats", "paths": [ "/{index}/_ccr/stats" ], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json index 92d38e5e999..5f7d77b80d6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current", "methods": [ "POST" ], "url": { - "path": "/{index}/_ccr/forget_follower", "paths": [ "/{index}/_ccr/forget_follower" ], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json index 6aea678fc00..82ccd8dc4d5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html", "methods": [ "GET" ], "url": { - "path": "/_ccr/auto_follow/{name}", "paths": [ "/_ccr/auto_follow", "/_ccr/auto_follow/{name}" ], "parts": { "name": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json index e128dab917c..23defeeef5a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html", "methods": [ "POST" ], "url": { - "path": "/{index}/_ccr/pause_follow", "paths": [ "/{index}/_ccr/pause_follow" ], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json index 128b262ec7a..ad576225fae 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html", "methods": [ "PUT" ], "url": { - "path": "/_ccr/auto_follow/{name}", "paths": [ "/_ccr/auto_follow/{name}" ], "parts": { "name": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json index 61e3b8580fc..c9e41af5831 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html", "methods": [ "POST" ], "url": { - "path": "/{index}/_ccr/resume_follow", "paths": [ "/{index}/_ccr/resume_follow" ], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json index ad9ab49bcbe..d678d725749 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-stats.html", "methods": [ "GET" ], "url": { - "path": "/_ccr/stats", "paths": [ "/_ccr/stats" ], "parts": {}, "body": null diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json index 41be574421f..2275b13ba42 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current", "methods": [ "POST" ], "url": { - "path": "/{index}/_ccr/unfollow", "paths": [ "/{index}/_ccr/unfollow" ], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.delete_data_frame_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.delete_data_frame_transform.json index 14478f72c9a..ade79eed487 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.delete_data_frame_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.delete_data_frame_transform.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-data-frame-transform.html", "methods": [ "DELETE" ], "url": { - "path": "/_data_frame/transforms/{transform_id}", "paths": [ "/_data_frame/transforms/{transform_id}" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform.json index 5bf6dd25fb5..9ad633ce713 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-data-frame-transform.html", "methods": [ "GET" ], "url": { - "path": "/_data_frame/transforms/{transform_id}", "paths": [ "/_data_frame/transforms/{transform_id}", "/_data_frame/transforms"], "parts": { "transform_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform_stats.json index b100c7e0a24..a8f5f7d5c25 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.get_data_frame_transform_stats.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-data-frame-transform-stats.html", "methods": [ "GET" ], "url": { - "path": "/_data_frame/transforms/{transform_id}/_stats", "paths": [ "/_data_frame/transforms/{transform_id}/_stats" ], "parts": { "transform_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.preview_data_frame_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.preview_data_frame_transform.json index c8cf76e90d3..3dc71e96c02 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.preview_data_frame_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.preview_data_frame_transform.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-data-frame-transform.html", "methods": [ "POST" ], "url": { - "path": "/_data_frame/transforms/_preview", "paths": [ "/_data_frame/transforms/_preview" ] }, "body": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.put_data_frame_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.put_data_frame_transform.json index cef6de3a2b6..33f33c4bfa8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.put_data_frame_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.put_data_frame_transform.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-data-frame-transform.html", "methods": [ "PUT" ], "url": { - "path": "/_data_frame/transforms/{transform_id}", "paths": [ "/_data_frame/transforms/{transform_id}" ], "parts": { "transform_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.start_data_frame_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.start_data_frame_transform.json index f2dd8e529f4..3623fd297bc 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.start_data_frame_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.start_data_frame_transform.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-data-frame-transform.html", "methods": [ "POST" ], "url": { - "path": "/_data_frame/transforms/{transform_id}/_start", "paths": [ "/_data_frame/transforms/{transform_id}/_start" ], "parts": { "transform_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.stop_data_frame_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.stop_data_frame_transform.json index f4f548b9aa0..a2e27bf4a43 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.stop_data_frame_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame.stop_data_frame_transform.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-data-frame-transform.html", "methods": [ "POST" ], "url": { - "path": "/_data_frame/transforms/{transform_id}/_stop", "paths": [ "/_data_frame/transforms/{transform_id}/_stop" ], "parts": { "transform_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json index b01c51bc6c3..4b14455a159 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html", "methods": ["GET", "POST"], "url": { - "path": "/{index}/_graph/explore", "paths": ["/{index}/_graph/explore"], "deprecated_paths" : [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json index cee1660fb1f..0ad23acdac3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-delete-lifecycle.html", "methods": [ "DELETE" ], "url": { - "path": "/_ilm/policy/{policy}", "paths": ["/_ilm/policy/{policy}"], "parts": { "policy": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json index 2441e642648..416d8b3405d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-explain-lifecycle.html", "methods": [ "GET" ], "url": { - "path": "/{index}/_ilm/explain", "paths": ["/{index}/_ilm/explain"], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json index 3526ff40aee..4170e927064 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html", "methods": [ "GET" ], "url": { - "path": "/_ilm/policy/{policy}", "paths": ["/_ilm/policy/{policy}", "/_ilm/policy"], "parts": { "policy": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json index 70aec541a11..f3fe8d9833b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html", "methods": [ "GET" ], "url": { - "path": "/_ilm/status", "paths": ["/_ilm/status"], "parts": {}, "params": {} diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json index e3adf2d30e6..416acaf1c2e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json @@ -4,7 +4,6 @@ "description": "Triggers execution of a specific step in the lifecycle policy. Since this action is designed to only be run in emergency situations, clients should not implement this API", "methods": [ "POST" ], "url": { - "path": "/_ilm/move/{index}", "paths": ["/_ilm/move/{index}"], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json index 4d93becbcc9..80f56234215 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html", "methods": [ "PUT" ], "url": { - "path": "/_ilm/policy/{policy}", "paths": ["/_ilm/policy/{policy}"], "parts": { "policy": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json index d9903ff8dc4..4fd7bc65cab 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html", "methods": [ "POST" ], "url": { - "path": "/{index}/_ilm/remove", "paths": ["/{index}/_ilm/remove"], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json index 41edd6a83c2..0f2d812f5ec 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html", "methods": [ "POST" ], "url": { - "path": "/{index}/_ilm/retry", "paths": ["/{index}/_ilm/retry"], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json index d20b3187b7e..a853faf1166 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html", "methods": [ "POST" ], "url": { - "path": "/_ilm/start", "paths": ["/_ilm/start"], "parts": {}, "params": {} diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json index eaf75a885b8..c47bd9db604 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-stop.html", "methods": [ "POST" ], "url": { - "path": "/_ilm/stop", "paths": ["/_ilm/stop"], "parts": {}, "params": {} diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json index a602f341e15..6a8949bdd6c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/frozen.html", "methods": [ "POST" ], "url": { - "path": "/{index}/_freeze", "paths": [ "/{index}/_freeze" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json index b10e869a957..8473d24476e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/frozen.html", "methods": [ "POST" ], "url": { - "path": "/{index}/_unfreeze", "paths": [ "/{index}/_unfreeze" ], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json index a85552e5575..22846cc6053 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html", "methods": ["DELETE"], "url": { - "path": "/_license", "paths": ["/_license"], "parts" : {} }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json index 07a570935a6..ffeac8dcf95 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html", "methods": ["GET"], "url": { - "path": "/_license", "paths": ["/_license"], "parts" : { }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json index cfb5608ac40..3a2a1f87e8e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html", "methods": ["GET"], "url": { - "path": "/_license/basic_status", "paths": ["/_license/basic_status"], "parts" : { }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json index daeb4913ad9..68f009eec99 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-trial-status.html", "methods": ["GET"], "url": { - "path": "/_license/trial_status", "paths": ["/_license/trial_status"], "parts" : { }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json index 1bd78a1fb6a..66bb1354ba2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html", "methods": ["PUT", "POST"], "url": { - "path": "/_license", "paths": ["/_license"], "parts" : { }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json index 91da4de9ff0..a4d0cd14655 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html", "methods": ["POST"], "url": { - "path": "/_license/start_basic", "paths": ["/_license/start_basic"], "parts" : { }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json index 55a73df4946..2958f316da2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html", "methods": ["POST"], "url": { - "path": "/_license/start_trial", "paths": ["/_license/start_trial"], "parts" : { }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json index 7c7ad54f095..bf297ecc342 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html", "methods": [ "GET" ], "url": { - "path": "/{index}/_migration/deprecations", "paths": ["/_migration/deprecations", "/{index}/_migration/deprecations"], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json index ab32b89f9c2..0121745c55c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html", "methods": [ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/_close", "paths": [ "/_ml/anomaly_detectors/{job_id}/_close" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json index 0eb3a61cdf8..64cf0aed286 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json @@ -2,7 +2,6 @@ "ml.delete_calendar": { "methods": [ "DELETE" ], "url": { - "path": "/_ml/calendars/{calendar_id}", "paths": [ "/_ml/calendars/{calendar_id}" ], "parts": { "calendar_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json index 91b041f6c51..a8889b88448 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json @@ -2,7 +2,6 @@ "ml.delete_calendar_event": { "methods": [ "DELETE" ], "url": { - "path": "/_ml/calendars/{calendar_id}/events/{event_id}", "paths": [ "/_ml/calendars/{calendar_id}/events/{event_id}" ], "parts": { "calendar_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json index 196eb78e993..4854a01133d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json @@ -2,7 +2,6 @@ "ml.delete_calendar_job": { "methods": [ "DELETE" ], "url": { - "path": "/_ml/calendars/{calendar_id}/jobs/{job_id}", "paths": [ "/_ml/calendars/{calendar_id}/jobs/{job_id}" ], "parts": { "calendar_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json index 039d6ee3273..cf9f8643451 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html", "methods": [ "DELETE" ], "url": { - "path": "/_ml/datafeeds/{datafeed_id}", "paths": [ "/_ml/datafeeds/{datafeed_id}" ], "parts": { "datafeed_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json index 2bb04bd2860..a5e33563eed 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json @@ -2,7 +2,6 @@ "ml.delete_expired_data": { "methods": [ "DELETE" ], "url": { - "path": "/_ml/_delete_expired_data", "paths": [ "/_ml/_delete_expired_data" ], "parts": {} }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json index c4bd51988b0..4054b4ab74b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json @@ -2,7 +2,6 @@ "ml.delete_filter": { "methods": [ "DELETE" ], "url": { - "path": "/_ml/filters/{filter_id}", "paths": [ "/_ml/filters/{filter_id}" ], "parts": { "filter_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json index ef6ad3406e6..d4c4e127303 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html", "methods": [ "DELETE" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}", "paths": [ "/_ml/anomaly_detectors/{job_id}/_forecast", "/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json index 550505a2635..5f522e725b8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html", "methods": [ "DELETE" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}", "paths": [ "/_ml/anomaly_detectors/{job_id}" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json index d61c0ec46c5..36dd396aba3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html", "methods": [ "DELETE" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", "paths": [ "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json index 2f65a5d9749..b836d51f045 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html", "methods": [ "POST" ], "url": { - "path": "/_ml/find_file_structure", "paths": [ "/_ml/find_file_structure" ], "params": { "lines_to_sample": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json index 22a59928fc2..4de55ce2efe 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json @@ -5,7 +5,6 @@ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/_flush", "paths": [ "/_ml/anomaly_detectors/{job_id}/_flush" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json index 050b80be4c9..07ef222b8a1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json @@ -2,7 +2,6 @@ "ml.forecast": { "methods": [ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/_forecast", "paths": [ "/_ml/anomaly_detectors/{job_id}/_forecast" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json index a861eb1f7d5..8db600e27f9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html", "methods": [ "GET", "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", "paths": [ "/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", "/_ml/anomaly_detectors/{job_id}/results/buckets" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json index 2252db62618..cb9cc9c73e2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json @@ -2,7 +2,6 @@ "ml.get_calendar_events": { "methods": [ "GET" ], "url": { - "path": "/_ml/calendars/{calendar_id}/events", "paths": [ "/_ml/calendars/{calendar_id}/events" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json index de2e192d7e0..f0a1a792f96 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json @@ -2,7 +2,6 @@ "ml.get_calendars": { "methods": [ "GET", "POST" ], "url": { - "path": "/_ml/calendars/{calendar_id}", "paths": [ "/_ml/calendars", "/_ml/calendars/{calendar_id}" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json index a096ba07986..ce68e673afe 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html", "methods": [ "GET", "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}", "paths": [ "/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}", "/_ml/anomaly_detectors/{job_id}/results/categories/" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json index 155701dbee5..6075f5fa478 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html", "methods": [ "GET"], "url": { - "path": "/_ml/datafeeds/{datafeed_id}/_stats", "paths": [ "/_ml/datafeeds/{datafeed_id}/_stats", "/_ml/datafeeds/_stats" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json index c911079cd22..08d0b9ab264 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html", "methods": [ "GET"], "url": { - "path": "/_ml/datafeeds/{datafeed_id}", "paths": [ "/_ml/datafeeds/{datafeed_id}", "/_ml/datafeeds" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json index c544b6dd37a..5921915e769 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json @@ -2,7 +2,6 @@ "ml.get_filters": { "methods": [ "GET" ], "url": { - "path": "/_ml/filters/{filter_id}", "paths": [ "/_ml/filters", "/_ml/filters/{filter_id}" ], "parts": { "filter_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json index adb8206dbf0..abbf1f18f82 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html", "methods": [ "GET", "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/results/influencers", "paths": [ "/_ml/anomaly_detectors/{job_id}/results/influencers" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json index 66b7c836df5..108580ce1ed 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html", "methods": [ "GET"], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/_stats", "paths": [ "/_ml/anomaly_detectors/_stats", "/_ml/anomaly_detectors/{job_id}/_stats" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json index 6777b9ffb77..d84f1a215f0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html", "methods": [ "GET"], "url": { - "path": "/_ml/anomaly_detectors/{job_id}", "paths": [ "/_ml/anomaly_detectors/{job_id}", "/_ml/anomaly_detectors" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json index 04a6eba0214..ca5866cfc88 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html", "methods": [ "GET", "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", "paths": [ "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", "/_ml/anomaly_detectors/{job_id}/model_snapshots" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json index 679aa67d3cc..d15ee790d82 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html", "methods": [ "GET", "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/results/overall_buckets", "paths": [ "/_ml/anomaly_detectors/{job_id}/results/overall_buckets" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json index 4831629b90c..9d5033ed4c1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html", "methods": ["GET", "POST"], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/results/records", "paths": [ "/_ml/anomaly_detectors/{job_id}/results/records" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json index 5afbaffd1fc..d459f6011c9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json @@ -2,7 +2,6 @@ "ml.info": { "methods": [ "GET" ], "url": { - "path": "/_ml/info", "paths": [ "/_ml/info" ], "parts": {}, "body": null diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json index 331f71132b9..95d3987cefb 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html", "methods": [ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/_open", "paths": [ "/_ml/anomaly_detectors/{job_id}/_open" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json index 6775317ec6a..960cc53dd22 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json @@ -2,7 +2,6 @@ "ml.post_calendar_events": { "methods": [ "POST" ], "url": { - "path": "/_ml/calendars/{calendar_id}/events", "paths": [ "/_ml/calendars/{calendar_id}/events" ], "parts": { "calendar_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json index 9acf4883e93..63d75a51b51 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html", "methods": [ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/_data", "paths": [ "/_ml/anomaly_detectors/{job_id}/_data" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json index 1d48948fb7c..b45dc5d67fe 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html", "methods": [ "GET" ], "url": { - "path": "/_ml/datafeeds/{datafeed_id}/_preview", "paths": [ "/_ml/datafeeds/{datafeed_id}/_preview" ], "parts": { "datafeed_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json index 4a5473cd496..1ddad330e5b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json @@ -2,7 +2,6 @@ "ml.put_calendar": { "methods": [ "PUT" ], "url": { - "path": "/_ml/calendars/{calendar_id}", "paths": [ "/_ml/calendars/{calendar_id}" ], "parts": { "calendar_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json index e17fdacd167..2114cb9cbaa 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json @@ -2,7 +2,6 @@ "ml.put_calendar_job": { "methods": [ "PUT" ], "url": { - "path": "/_ml/calendars/{calendar_id}/jobs/{job_id}", "paths": [ "/_ml/calendars/{calendar_id}/jobs/{job_id}" ], "parts": { "calendar_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json index 8545d0727d7..c194ba66796 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html", "methods": [ "PUT" ], "url": { - "path": "/_ml/datafeeds/{datafeed_id}", "paths": [ "/_ml/datafeeds/{datafeed_id}" ], "parts": { "datafeed_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json index 3ef67502b64..9270d829ca0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json @@ -2,7 +2,6 @@ "ml.put_filter": { "methods": [ "PUT" ], "url": { - "path": "/_ml/filters/{filter_id}", "paths": [ "/_ml/filters/{filter_id}" ], "parts": { "filter_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json index 01bb28290ac..9187f441e41 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html", "methods": [ "PUT" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}", "paths": [ "/_ml/anomaly_detectors/{job_id}" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json index 3c71279c23b..08e6b191103 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html", "methods": [ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert", "paths": [ "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json index 5406d2d06ec..867422be3b0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html", "methods": [ "POST" ], "url": { - "path": "/_ml/set_upgrade_mode", "paths": [ "/_ml/set_upgrade_mode" ], "params": { "enabled": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json index ce3fd9cdf4b..d82faae9b05 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html", "methods": [ "POST" ], "url": { - "path": "/_ml/datafeeds/{datafeed_id}/_start", "paths": [ "/_ml/datafeeds/{datafeed_id}/_start" ], "parts": { "datafeed_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json index 96d28abc151..a153596e7fb 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json @@ -5,7 +5,6 @@ "POST" ], "url": { - "path": "/_ml/datafeeds/{datafeed_id}/_stop", "paths": [ "/_ml/datafeeds/{datafeed_id}/_stop" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json index aebeade84e2..a56b34912b5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html", "methods": [ "POST" ], "url": { - "path": "/_ml/datafeeds/{datafeed_id}/_update", "paths": [ "/_ml/datafeeds/{datafeed_id}/_update" ], "parts": { "datafeed_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json index d55fb80755a..6cd90e485c7 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json @@ -2,7 +2,6 @@ "ml.update_filter": { "methods": [ "POST" ], "url": { - "path": "/_ml/filters/{filter_id}/_update", "paths": [ "/_ml/filters/{filter_id}/_update" ], "parts": { "filter_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json index f2a9a29a416..3de92f78a0d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html", "methods": [ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/_update", "paths": [ "/_ml/anomaly_detectors/{job_id}/_update" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json index ba57e18b0aa..22d2cb9915e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html", "methods": [ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update", "paths": [ "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update" ], "parts": { "job_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json index 140057db9fc..f3ffd53f369 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json @@ -2,7 +2,6 @@ "ml.validate": { "methods": [ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/_validate", "paths": [ "/_ml/anomaly_detectors/_validate" ], "params": {} }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json index 33e91b6832b..3ad00e84c45 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json @@ -2,7 +2,6 @@ "ml.validate_detector": { "methods": [ "POST" ], "url": { - "path": "/_ml/anomaly_detectors/_validate/detector", "paths": [ "/_ml/anomaly_detectors/_validate/detector" ], "params": {} }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json index 78a6017cba2..cbc4bea681d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/es-monitoring.html", "methods": ["POST", "PUT"], "url": { - "path": "/_monitoring/bulk", "paths": ["/_monitoring/bulk"], "deprecated_paths" : [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json index e03cd2ae977..f9b7742f110 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json @@ -3,7 +3,6 @@ "documentation": "", "methods": [ "DELETE" ], "url": { - "path": "/_rollup/job/{id}", "paths": [ "/_rollup/job/{id}" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json index aa5d56e5909..800345ccef8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json @@ -3,7 +3,6 @@ "documentation": "", "methods": [ "GET" ], "url": { - "path": "/_rollup/job/{id}", "paths": [ "/_rollup/job/{id}", "/_rollup/job/" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json index 0fd8aa31682..333f26a7587 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json @@ -3,7 +3,6 @@ "documentation": "", "methods": [ "GET" ], "url": { - "path": "/_rollup/data/{id}", "paths": [ "/_rollup/data/{id}", "/_rollup/data/" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json index c446f29e759..68d526ceb3b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json @@ -3,7 +3,6 @@ "documentation": "", "methods": [ "GET" ], "url": { - "path": "/{index}/_rollup/data", "paths": [ "/{index}/_rollup/data" ], "parts": { "index": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json index ca33affd7d8..c74eaa951f7 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json @@ -3,7 +3,6 @@ "documentation": "", "methods": [ "PUT" ], "url": { - "path": "/_rollup/job/{id}", "paths": [ "/_rollup/job/{id}" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json index 0eeb7b29256..f8adf33902b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json @@ -3,7 +3,6 @@ "documentation": "", "methods": [ "GET", "POST" ], "url": { - "path": "/{index}/_rollup_search", "paths": [ "{index}/_rollup_search"], "deprecated_paths" : [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json index 8ee505b195b..6198b3fd2e6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json @@ -3,7 +3,6 @@ "documentation": "", "methods": [ "POST" ], "url": { - "path": "/_rollup/job/{id}/_start", "paths": [ "/_rollup/job/{id}/_start" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json index 152b7294580..7f16080d32d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json @@ -3,7 +3,6 @@ "documentation": "", "methods": [ "POST" ], "url": { - "path": "/_rollup/job/{id}/_stop", "paths": [ "/_rollup/job/{id}/_stop" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json index 394ad0d8dbe..a07fd8ca33f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html", "methods": [ "GET" ], "url": { - "path": "/_security/_authenticate", "paths": [ "/_security/_authenticate" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json index 9e94102fc23..bfd84789421 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_security/user/{username}/_password", "paths": [ "/_security/user/{username}/_password", "/_security/user/_password" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json index 9e986d615a2..f36c677a567 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html", "methods": [ "POST" ], "url": { - "path": "/_security/realm/{realms}/_clear_cache", "paths": [ "/_security/realm/{realms}/_clear_cache" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json index 1c39ea9ade3..c091bddd746 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html", "methods": [ "POST" ], "url": { - "path": "/_security/role/{name}/_clear_cache", "paths": [ "/_security/role/{name}/_clear_cache" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json index 30b5b30a52b..7e293be1e7e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_security/api_key", "paths": [ "/_security/api_key" ], "parts": {}, "params": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json index 13231572ab7..a61f42f259c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json @@ -3,7 +3,6 @@ "documentation": "TODO", "methods": [ "DELETE" ], "url": { - "path": "/_security/privilege/{application}/{name}", "paths": [ "/_security/privilege/{application}/{name}" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json index 8e4a17988f5..22097e0ecc0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html", "methods": [ "DELETE" ], "url": { - "path": "/_security/role/{name}", "paths": [ "/_security/role/{name}" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json index 5aff743b45b..9f24206e89c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html", "methods": [ "DELETE" ], "url": { - "path": "/_security/role_mapping/{name}", "paths": [ "/_security/role_mapping/{name}" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json index 175d9925f00..d2952907aa1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html", "methods": [ "DELETE" ], "url": { - "path": "/_security/user/{username}", "paths": [ "/_security/user/{username}" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json index 3aa50467fb5..28b93dfd32d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_security/user/{username}/_disable", "paths": [ "/_security/user/{username}/_disable" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json index 950a2b54939..2feab34472c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_security/user/{username}/_enable", "paths": [ "/_security/user/{username}/_enable" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json index f534d2a220e..3dae4a1104b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html", "methods": [ "GET" ], "url": { - "path": "/_security/api_key", "paths": [ "/_security/api_key" ], "parts": {}, "params": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json index 2cf10a872d5..ba437c10bba 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json @@ -3,7 +3,6 @@ "documentation": "TODO", "methods": [ "GET" ], "url": { - "path": "/_security/privilege/{application}/{name}", "paths": [ "/_security/privilege", "/_security/privilege/{application}", diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json index 412127ce157..2925878a69f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html", "methods": [ "GET" ], "url": { - "path": "/_security/role/{name}", "paths": [ "/_security/role/{name}", "/_security/role" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json index 169ef451b3c..d718213165b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html", "methods": [ "GET" ], "url": { - "path": "/_security/role_mapping/{name}", "paths": [ "/_security/role_mapping/{name}", "/_security/role_mapping" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json index 9ecc8091797..9b5d2c95bc2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html", "methods": [ "POST" ], "url": { - "path": "/_security/oauth2/token", "paths": [ "/_security/oauth2/token" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json index ed6e7069dca..b10b75225c3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html", "methods": [ "GET" ], "url": { - "path": "/_security/user/{username}", "paths": [ "/_security/user/{username}", "/_security/user" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json index b60298f89e0..f8a61b28b21 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html", "methods": [ "GET" ], "url": { - "path": "/_security/user/_privileges", "paths": [ "/_security/user/_privileges" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json index c388f766c98..3a62142d704 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html", "methods": [ "GET", "POST" ], "url": { - "path": "/_security/user/_has_privileges", "paths": [ "/_security/user/_has_privileges", "/_security/user/{user}/_has_privileges" diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json index fa0639704aa..9005828eee3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html", "methods": [ "DELETE" ], "url": { - "path": "/_security/api_key", "paths": [ "/_security/api_key" ], "parts": {} }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json index 7938825e5b1..2a1532944d8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html", "methods": [ "DELETE" ], "url": { - "path": "/_security/oauth2/token", "paths": [ "/_security/oauth2/token" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json index 20b8d8418ab..0571254bfb6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json @@ -3,7 +3,6 @@ "documentation": "TODO", "methods": [ "PUT", "POST" ], "url": { - "path": "/_security/privilege/", "paths": [ "/_security/privilege/" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json index 8539d198c70..8868596fb05 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_security/role/{name}", "paths": [ "/_security/role/{name}" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json index d65cf8f8358..7d35bd9c8ec 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_security/role_mapping/{name}", "paths": [ "/_security/role_mapping/{name}" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json index a1a77c5bb4e..5e5855db93b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_security/user/{username}", "paths": [ "/_security/user/{username}" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json index ec84f9543bf..9bc48bc4820 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json @@ -3,7 +3,6 @@ "documentation": "Clear SQL cursor", "methods": [ "POST"], "url": { - "path": "/_sql/close", "paths": [ "/_sql/close" ], "parts": {} }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json index c12a876e8cd..bb256e3bc93 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json @@ -3,7 +3,6 @@ "documentation": "Execute SQL", "methods": [ "POST", "GET" ], "url": { - "path": "/_sql", "paths": [ "/_sql" ], "parts": {}, "params": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json index 2200a61be66..7ddf234c016 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json @@ -3,7 +3,6 @@ "documentation": "Translate SQL into Elasticsearch queries", "methods": [ "POST", "GET" ], "url": { - "path": "/_sql/translate", "paths": [ "/_sql/translate" ], "parts": {}, "params": {} diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json index 10715cd5380..7dba6ab4732 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html", "methods": [ "GET" ], "url": { - "path": "/_ssl/certificates", "paths": [ "/_ssl/certificates" ], diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json index 4920c986a04..b4a6e4b80d6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_watcher/watch/{watch_id}/_ack", "paths": [ "/_watcher/watch/{watch_id}/_ack", "/_watcher/watch/{watch_id}/_ack/{action_id}"], "parts": { "watch_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json index 49fb169dede..e69b5a768a1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_watcher/watch/{watch_id}/_activate", "paths": [ "/_watcher/watch/{watch_id}/_activate" ], "parts": { "watch_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json index ddc68b43939..964a3900831 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_watcher/watch/{watch_id}/_deactivate", "paths": [ "/_watcher/watch/{watch_id}/_deactivate" ], "parts": { "watch_id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json index cdf61ad5202..fd3841deaac 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json @@ -4,7 +4,6 @@ "methods": [ "DELETE" ], "url": { - "path": "/_watcher/watch/{id}", "paths": [ "/_watcher/watch/{id}" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json index 6db8f3ae115..417448ee774 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_watcher/watch/{id}/_execute", "paths": [ "/_watcher/watch/{id}/_execute", "/_watcher/watch/_execute" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json index 81f21b4b0c1..70e2768bf80 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html", "methods": [ "GET" ], "url": { - "path": "/_watcher/watch/{id}", "paths": [ "/_watcher/watch/{id}" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json index 24f020a7b90..86c35df5574 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html", "methods": [ "PUT", "POST" ], "url": { - "path": "/_watcher/watch/{id}", "paths": [ "/_watcher/watch/{id}" ], "parts": { "id": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json index 649b21c7db3..c7ada3deda2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html", "methods": [ "POST" ], "url": { - "path": "/_watcher/_start", "paths": [ "/_watcher/_start" ], "parts": { }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json index 01241848ab9..a1098052ec7 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html", "methods": [ "GET" ], "url": { - "path": "/_watcher/stats", "paths": [ "/_watcher/stats", "/_watcher/stats/{metric}" ], "parts": { "metric": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json index 4deee79436e..25ac1d9ee4b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json @@ -3,7 +3,6 @@ "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html", "methods": [ "POST" ], "url": { - "path": "/_watcher/_stop", "paths": [ "/_watcher/_stop" ], "parts": { }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json index 9913bc3fba6..61c33f379c1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json @@ -3,7 +3,6 @@ "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html", "methods": [ "GET" ], "url": { - "path": "/_xpack", "paths": [ "/_xpack" ], "parts": {}, "params": { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json index 8476c1f06d6..ad30b13504f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json @@ -3,7 +3,6 @@ "documentation": "Retrieve information about xpack features usage", "methods": [ "GET" ], "url": { - "path": "/_xpack/usage", "paths": [ "/_xpack/usage" ], "parts": {}, "params": {