Skip to content

Commit

Permalink
remove path from rest-api-spec (elastic#41452)
Browse files Browse the repository at this point in the history
(cherry picked from commit f5fde1d)
  • Loading branch information
Mpdreamz committed Jun 11, 2019
1 parent 1776d6e commit a767115
Show file tree
Hide file tree
Showing 261 changed files with 0 additions and 261 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"documentation": "",
"methods": ["GET"],
"url": {
"path": "/_cat/example",
"paths": ["/_cat/example"],
"parts": {},
"params": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html",
"methods": ["GET"],
"url": {
"path": "/_cat",
"paths": ["/_cat"],
"parts": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html",
"methods": ["POST", "GET"],
"url": {
"path": "/_count",
"paths": ["/_count", "/{index}/_count"],
"deprecated_paths" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html",
"methods": ["POST"],
"url": {
"path": "/{index}/_delete_by_query",
"paths": ["/{index}/_delete_by_query"],
"deprecated_paths" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" : [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Loading

0 comments on commit a767115

Please sign in to comment.