瀏覽代碼

remove path from rest-api-spec (#41452)

Martijn Laarman 6 年之前
父節點
當前提交
f5fde1d084
共有 100 個文件被更改,包括 0 次插入100 次删除
  1. 0 1
      plugins/examples/rest-handler/src/test/resources/rest-api-spec/api/cat.example.json
  2. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json
  3. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json
  4. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json
  5. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json
  6. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json
  7. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json
  8. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json
  9. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json
  10. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json
  11. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json
  12. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json
  13. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json
  14. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json
  15. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json
  16. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json
  17. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json
  18. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json
  19. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json
  20. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json
  21. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json
  22. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json
  23. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json
  24. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json
  25. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json
  26. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json
  27. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json
  28. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json
  29. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json
  30. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json
  31. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json
  32. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json
  33. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/count.json
  34. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/create.json
  35. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/delete.json
  36. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json
  37. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json
  38. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json
  39. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/exists.json
  40. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json
  41. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/explain.json
  42. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json
  43. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/get.json
  44. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json
  45. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json
  46. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/index.json
  47. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json
  48. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json
  49. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json
  50. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json
  51. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json
  52. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json
  53. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json
  54. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json
  55. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json
  56. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json
  57. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json
  58. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json
  59. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json
  60. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json
  61. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json
  62. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json
  63. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json
  64. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json
  65. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json
  66. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json
  67. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_upgrade.json
  68. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json
  69. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json
  70. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json
  71. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json
  72. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json
  73. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json
  74. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json
  75. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json
  76. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json
  77. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json
  78. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json
  79. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json
  80. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json
  81. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json
  82. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json
  83. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json
  84. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/info.json
  85. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json
  86. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json
  87. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json
  88. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json
  89. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json
  90. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/mget.json
  91. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json
  92. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json
  93. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json
  94. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json
  95. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json
  96. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json
  97. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json
  98. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json
  99. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/ping.json
  100. 0 1
      rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {
       },

+ 0 - 1
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": {
       },

+ 0 - 1
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": {

+ 0 - 1
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": {
       },

+ 0 - 1
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": {
       },

+ 0 - 1
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": {
       },

+ 0 - 1
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": {
       },

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {
       },

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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}"],

+ 0 - 1
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": {
       },

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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" : [
         {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {
       },

+ 0 - 1
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": {

+ 0 - 1
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": {}
     },

+ 0 - 1
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": {
       },

+ 0 - 1
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}",

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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" : [
         {

+ 0 - 1
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" : [
         {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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" : [
         {

+ 0 - 1
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" : [
         {

+ 0 - 1
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" : [
         {

+ 0 - 1
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"

+ 0 - 1
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" : [
         {

+ 0 - 1
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": {

+ 0 - 1
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" : [
         {

+ 0 - 1
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" : [
         {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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"

+ 0 - 1
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": {

+ 0 - 1
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":{

+ 0 - 1
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": {

+ 0 - 1
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" : [
         {

+ 0 - 1
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" : [
         {

+ 0 - 1
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": {

+ 0 - 1
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}"

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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" : [
         {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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}",

+ 0 - 1
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": {
       },

+ 0 - 1
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": {

+ 0 - 1
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" : [
         {

+ 0 - 1
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": {
       },

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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": {
       },

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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" : [
         {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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" : {

+ 0 - 1
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" : [
         {

+ 0 - 1
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": {

+ 0 - 1
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": {

+ 0 - 1
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",

+ 0 - 1
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",

+ 0 - 1
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": {
       },

+ 0 - 1
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": {

部分文件因文件數量過多而無法顯示