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 e42617eef7bf7..50b31f50beeff 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 a07f362bef064..4cd34532afda1 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 d30c6ace6f723..a488e17689c90 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 7c826890607e4..e592f0f87be51 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 4311d9a3be12d..2c9c0866c923c 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 88c7eee126294..cb0a44700115d 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 e858e83b465ed..561f0c0d6c49f 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 e893fb1b0447e..2fd67e53e0a62 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 24961a57cf331..9a33d02a6a729 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 ab87b2adb7e72..1aed758ae8df6 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 3d8a4a77a7704..b5360ea07374c 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 1b3c1266a63a0..159edf434a09b 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 983b82482ae40..e3e107ef57af0 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 93c7feababa99..53e192f3c93a2 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 42f91cedfdd6c..ad52aec154920 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 c640a568fde0b..7387c6a74ff91 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 3306b2f753b2a..e8eb65311b40f 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 2ad714e7225d7..246b098c65bee 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 eec22e2e0412d..8cd90d608be8f 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 1958843e601c7..58471aa8ee678 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 f0757c2d652dc..85486ec47ba9b 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 70a11000bbe41..1dfe94dd7716a 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 b2b0343230c66..b3be596f68d54 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 26b24cfb69760..b4d515d8f3e2b 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 baba4e3436abc..b6be87d19a1a6 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 49d0ef5c83aee..f36920b9deff2 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 fb5e1609ff39d..66d2e39646a2a 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 5fcf03102836a..a3cbb4bf2a322 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 3237853154493..e1254520f1205 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 8bb85ca087ae8..b59de5f6e9672 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 fec3f45000497..298614ec957b2 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 36400ed2f7c4c..6adcebfbdd5ca 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 86486c39e1728..78d5f519968ff 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"], "parts": { "index": { 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 65fcf02807ba1..389cb23ee3b56 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 0152374028832..f526703f3fb4b 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 fdadd918976ff..c517b799220bc 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"], "comment": "most things below this are just copied from search.json", "parts": { 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 f49af01cfc3b7..3d9a516fca20a 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 83bb690cc0428..a64f4465f2ee4 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 2a451344521e4..610128ca41313 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 30e56141ec001..ec20a734b0e88 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 203ef23c9cc10..21ca4416c5f94 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 ebb520fd433b9..878527f4da63b 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 f4e0fdd5f90ef..fca588ef4644d 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 0b2d6c5a5b9c2..50f781f3aacd2 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 d6f6964aa7c36..e8d9a3fc08308 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 438032980a3c5..cfce1f9d23d1d 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 c340ccd2f37c2..0ef21cd789f29 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 7e62371dd674d..54b299afb534d 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 55fd245f26c91..57ca0e7bd9e6d 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 d4a16e576e1b9..9c9ce428b134f 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 c391242e9de15..3eb87ee9c0bfd 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 30a32fbfef871..27d461219ae1d 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 b311c9bbda82a..290687d9edc31 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 7f04f00b40def..022cecf4504e2 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 aea20b2b634d0..33e1d7be0e623 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 3fb9d1e207e1e..385c62f6d500c 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 a788202c93ae2..66ce68e3ad210 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 77d9e037163fa..fe9a528abdf02 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 08488eae8648b..220ff7d010019 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 d87ce2a4451d6..b6796721613a7 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 76e6ed00feb26..659adf2febb0b 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 b68d7c527fcdc..a68cf00a38a04 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 305cb700ceae9..28b336c14baf5 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 abfc3d3867e9a..024f269321209 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 ed22cc837d6a8..ee0fd433e7766 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 e2aae3b7444aa..06cc693275f71 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 3c114a450eef2..92a25a8e9c868 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 86c39988e181f..a617000f072d1 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 da53d5ac441e1..c0da2fdca4429 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 c46e6b15549cc..942db010c6169 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 3055cb8e32e2e..5dfc4529bfab2 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 65aa9506ff9f1..b6605e33b548a 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 80b7f1a000986..517c85eb61bd6 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 a32974d017f22..ebfc3a6898219 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 7bf1513969fb3..49f1c0197e8ac 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 3ecf1b23aaea2..73abcb76d283c 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 ecdaa75a3a9e4..ce9dee96bb16b 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 5ef943eacba6c..3e779308fa8bf 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 a79fa7b708269..c953b1b875884 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 c86a2c1147a9b..f583045333c64 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 30c369e410a25..93fe482851604 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 1e2413ee723cc..7c7454870c84a 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 6f1395b1582a0..26c9082f807ed 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 63754eb7f7c3c..42effd30bd99c 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 c3b51de862097..f8b783a81510d 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 16a07e072b771..3078d226c9bbe 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 bf40be853e2d1..06471e1c1f5b5 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 1ea77901d8dbd..124e254dd2ebc 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 c16008ad6b659..14f221c0b0049 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 c04fb34beac18..9f42e81591b32 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 73780a1835893..d66dc29b4ac3e 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"], "parts": { "index": { 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 7bc957d98ff29..2604ff25ad02e 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"], "parts": { "index": { 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 aaff8e73259cf..0d85f72479643 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"], "parts" : { "index" : { 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 95df4f53aa579..298d6c43b170b 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 c86d35dc1a95a..842a4bc398cbc 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 0a566df35bbc2..fcc518fe5d225 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 7b426d03918b2..c51748636eed0 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 97c3f201f6cdf..64b0d071f91e2 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 41310bb30d494..61b17c7ddbb65 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 34bd4f63c285e..b01995feb6626 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 5c9cebf741135..4b45b0c2e8699 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 34449cf9c6f41..35f7949f93525 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 2763eb8983fd5..b1620da35a312 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 8f27c12b819da..fe61c39c84dea 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 1eb490e8ab59f..52614ce936290 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 c02627cfd874c..e7d8a121413fe 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 31e02a172fd0e..b06188815543c 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 75444eb66767b..0f593b8b27132 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"], "parts": { "index": { 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 b3de107b79787..3db4bf6244ee4 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 81a293d4a9b34..b6eb3ad3498bc 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"], "parts": { "index": { 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 29ae2206c8568..a34cb61e6b80e 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 7a73f6abc3c28..0efaf26acb6c6 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 6668289f442a6..68637110537c9 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 4f0c43b8f0317..fb25c55ef8452 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 02f5259bc2ec8..1241d35f29083 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 bf6a660146173..81b6f6edead82 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 bdd265799ce4b..e46e2d56128f1 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 cba488de793bc..d5d951ba4e2bb 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 0d9a97c10877b..a477d4f284c1e 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 244ca986f9b7f..098acb08cb73f 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 3fefdb8f965ff..808a09964b901 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 f16967eafeb02..0302598a6e7c6 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 bbbdc7c87ad0b..0e157912b5d47 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"], "parts" : { "index" : { 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 02435190674cf..9a4aa3769f6da 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 1ded6e69b8b9d..12228c3c4a209 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"], "comment": "most things below this are just copied from search.json", "parts": { 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 9ec2540b43006..9a14c7774990e 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 735387b173b73..6aed24aa7d161 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 588dd60261252..af09d82dbf8cc 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 87fd387edc13a..e4c665705dbde 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 de4bb66056bb3..8c92b1dc6d5e6 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 92d38e5e999e8..5f7d77b80d68e 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 6aea678fc004b..82ccd8dc4d5dd 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 e128dab917ca4..23defeeef5ac5 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 128b262ec7a50..ad576225fae4c 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 61e3b8580fc2c..c9e41af5831e6 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 ad9ab49bcbe46..d678d725749fb 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 41be574421fc6..2275b13ba423f 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 14478f72c9afe..ade79eed48717 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 5bf6dd25fb546..9ad633ce71345 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 b100c7e0a2471..a8f5f7d5c25ad 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 c8cf76e90d340..3dc71e96c0251 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 cef6de3a2b6e4..33f33c4bfa890 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 f2dd8e529f47d..3623fd297bcbf 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 f4f548b9aa0eb..a2e27bf4a4374 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 b01c51bc6c381..4b14455a15975 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 cee1660fb1f84..0ad23acdac333 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 2441e64264809..416d8b3405d11 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 3526ff40aee46..4170e9270644e 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 70aec541a115b..f3fe8d9833b4e 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 e3adf2d30e681..416acaf1c2ec2 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 4d93becbcc9a2..80f562342154b 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 d9903ff8dc40d..4fd7bc65cab4e 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 41edd6a83c2eb..0f2d812f5ec11 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 d20b3187b7e33..a853faf11667c 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 eaf75a885b8aa..c47bd9db6047a 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 a602f341e1524..6a8949bdd6c0e 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 b10e869a95758..8473d24476ef5 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 a85552e557597..22846cc605360 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 07a570935a6b7..ffeac8dcf95ea 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 cfb5608ac4063..3a2a1f87e8ebf 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 daeb4913ad9eb..68f009eec9905 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 1bd78a1fb6af5..66bb1354ba21e 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 91da4de9ff0a2..a4d0cd146559b 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 55a73df4946b5..2958f316da2ed 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 7c7ad54f095a6..bf297ecc342cc 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 ab32b89f9c264..0121745c55c02 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 0eb3a61cdf887..64cf0aed28692 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 91b041f6c5141..a8889b8844825 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 196eb78e9936d..4854a01133dd5 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 039d6ee3273c3..cf9f864345137 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 2bb04bd286016..a5e33563eedd5 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 c4bd51988b030..4054b4ab74bdc 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 ef6ad3406e6c0..d4c4e1273032f 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 550505a263525..5f522e725b84f 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 d61c0ec46c5e5..36dd396aba321 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 2f65a5d974911..b836d51f0459e 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 22a59928fc2bf..4de55ce2efe90 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 050b80be4c9bd..07ef222b8a149 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 a861eb1f7d59f..8db600e27f998 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 2252db62618fb..cb9cc9c73e2a5 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 de2e192d7e072..f0a1a792f9602 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 a096ba07986cc..ce68e673afede 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 155701dbee5fa..6075f5fa47841 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 c911079cd2217..08d0b9ab26444 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 c544b6dd37a34..5921915e76929 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 adb8206dbf03c..abbf1f18f82b8 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 66b7c836df513..108580ce1ed66 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 6777b9ffb7747..d84f1a215f028 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 04a6eba021494..ca5866cfc8892 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 679aa67d3ccd6..d15ee790d8271 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 4831629b90c6f..9d5033ed4c1ca 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 5afbaffd1fcd6..d459f6011c984 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 331f71132b927..95d3987cefb50 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 6775317ec6aec..960cc53dd2214 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 9acf4883e9344..63d75a51b5107 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 1d48948fb7c02..b45dc5d67fe73 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 4a5473cd49699..1ddad330e5bff 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 e17fdacd167f2..2114cb9cbaaca 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 8545d0727d7d7..c194ba667964a 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 3ef67502b6464..9270d829ca0fa 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 01bb28290acc6..9187f441e41c3 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 3c71279c23bf0..08e6b19110343 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 5406d2d06eceb..867422be3b0b7 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 ce3fd9cdf4b80..d82faae9b057a 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 96d28abc15118..a153596e7fbf5 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 aebeade84e20e..a56b34912b51f 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 d55fb80755a31..6cd90e485c71f 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 f2a9a29a416b4..3de92f78a0d63 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 ba57e18b0aad6..22d2cb9915e38 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 140057db9fcfd..f3ffd53f36961 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 33e91b6832b9f..3ad00e84c4565 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 78a6017cba2e6..cbc4bea681db1 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 e03cd2ae977b9..f9b7742f11021 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 aa5d56e590910..800345ccef843 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 0fd8aa3168222..333f26a758753 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 c446f29e7591b..68d526ceb3bbf 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 ca33affd7d8a6..c74eaa951f726 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 0eeb7b29256cf..f8adf33902b51 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 8ee505b195b22..6198b3fd2e656 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 152b72945800d..7f16080d32d2b 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 394ad0d8dbe45..a07fd8ca33ff5 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 9e94102fc23e9..bfd847894216f 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 9e986d615a257..f36c677a567c3 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 1c39ea9ade349..c091bddd74677 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 30b5b30a52b61..7e293be1e7e51 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 13231572ab79a..a61f42f259c9a 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 8e4a17988f536..22097e0ecc043 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 5aff743b45bdd..9f24206e89c72 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 175d9925f00a6..d2952907aa1eb 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 3aa50467fb546..28b93dfd32db3 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 950a2b54939cd..2feab34472cdd 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 f534d2a220e84..3dae4a1104b53 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 2cf10a872d519..ba437c10bba36 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 412127ce157e4..2925878a69f0d 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 169ef451b3cb8..d718213165b5a 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 9ecc8091797b8..9b5d2c95bc25a 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 ed6e7069dca31..b10b75225c3d2 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 b60298f89e017..f8a61b28b21fe 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 c388f766c9829..3a62142d70472 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 fa0639704aa9a..9005828eee3e9 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 7938825e5b12e..2a1532944d8cb 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 20b8d8418ab1f..0571254bfb690 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 8539d198c70e7..8868596fb05f5 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 d65cf8f835833..7d35bd9c8ec9f 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 a1a77c5bb4e9f..5e5855db93bb1 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 ec84f9543bfe0..9bc48bc4820be 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 c12a876e8cd32..bb256e3bc9370 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 2200a61be66b2..7ddf234c016fb 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 10715cd5380fe..7dba6ab473224 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 4920c986a042f..b4a6e4b80d68a 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 49fb169dede77..e69b5a768a12c 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 ddc68b439395e..964a39008314e 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 cdf61ad52023f..fd3841deaacb9 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 6db8f3ae115f5..417448ee77464 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 81f21b4b0c1e5..70e2768bf8051 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 24f020a7b90b4..86c35df55741e 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 649b21c7db3f1..c7ada3deda210 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 01241848ab9f3..a1098052ec778 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 4deee79436e2d..25ac1d9ee4b17 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 9913bc3fba6df..61c33f379c128 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 8476c1f06d61b..ad30b13504f88 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": {