From a55750dd70e0299acd780e57564554371ebe3b4c Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Fri, 24 May 2013 12:02:42 +0200 Subject: [PATCH] [SETUP] Added the generated JSON skeleton files Files were generated with the `thor api:generate:spec --force --verbose --crawl` command, and based on the 0.90 branch (elasticsearch/elasticsearch@5ec4064). --- rest-api-spec/api/bulk.json | 29 +++++++ rest-api-spec/api/cluster.health.json | 35 ++++++++ .../api/cluster.node.hotthreads.json | 25 ++++++ rest-api-spec/api/cluster.node.info.json | 39 +++++++++ rest-api-spec/api/cluster.node.restart.json | 19 +++++ rest-api-spec/api/cluster.node.shutdown.json | 21 +++++ rest-api-spec/api/cluster.node.stats.json | 43 ++++++++++ rest-api-spec/api/cluster.reroute.json | 20 +++++ rest-api-spec/api/cluster.settings.json | 15 ++++ rest-api-spec/api/cluster.shards.json | 31 +++++++ rest-api-spec/api/cluster.state.json | 31 +++++++ rest-api-spec/api/count.json | 36 +++++++++ rest-api-spec/api/delete.json | 37 +++++++++ rest-api-spec/api/deletebyquery.json | 36 +++++++++ rest-api-spec/api/explain.json | 48 +++++++++++ rest-api-spec/api/get.json | 37 +++++++++ rest-api-spec/api/index.json | 45 +++++++++++ rest-api-spec/api/indices.alias.delete.json | 25 ++++++ rest-api-spec/api/indices.alias.get.json | 25 ++++++ rest-api-spec/api/indices.alias.json | 21 +++++ rest-api-spec/api/indices.alias.put.json | 26 ++++++ rest-api-spec/api/indices.analyze.json | 32 ++++++++ rest-api-spec/api/indices.cache.clear.json | 39 +++++++++ rest-api-spec/api/indices.close.json | 21 +++++ rest-api-spec/api/indices.create.json | 22 +++++ rest-api-spec/api/indices.delete.json | 21 +++++ rest-api-spec/api/indices.exists.indices.json | 19 +++++ rest-api-spec/api/indices.exists.types.json | 23 ++++++ rest-api-spec/api/indices.flush.json | 27 +++++++ .../api/indices.gateway.snapshot.json | 21 +++++ rest-api-spec/api/indices.mapping.delete.json | 23 ++++++ rest-api-spec/api/indices.mapping.get.json | 23 ++++++ rest-api-spec/api/indices.mapping.put.json | 27 +++++++ rest-api-spec/api/indices.open.json | 21 +++++ rest-api-spec/api/indices.optimize.json | 33 ++++++++ rest-api-spec/api/indices.refresh.json | 23 ++++++ rest-api-spec/api/indices.segments.json | 23 ++++++ rest-api-spec/api/indices.settings.json | 19 +++++ rest-api-spec/api/indices.stats.json | 65 +++++++++++++++ rest-api-spec/api/indices.status.json | 27 +++++++ .../api/indices.template.delete.json | 21 +++++ rest-api-spec/api/indices.template.get.json | 19 +++++ rest-api-spec/api/indices.template.put.json | 29 +++++++ rest-api-spec/api/indices.validate.query.json | 32 ++++++++ rest-api-spec/api/indices.warmer.delete.json | 25 ++++++ rest-api-spec/api/indices.warmer.get.json | 25 ++++++ rest-api-spec/api/indices.warmer.put.json | 27 +++++++ rest-api-spec/api/main.json | 15 ++++ rest-api-spec/api/mlt.json | 62 ++++++++++++++ rest-api-spec/api/percolate.json | 23 ++++++ rest-api-spec/api/search.json | 81 +++++++++++++++++++ rest-api-spec/api/suggest.json | 30 +++++++ rest-api-spec/api/update.json | 52 ++++++++++++ 53 files changed, 1594 insertions(+) create mode 100644 rest-api-spec/api/bulk.json create mode 100644 rest-api-spec/api/cluster.health.json create mode 100644 rest-api-spec/api/cluster.node.hotthreads.json create mode 100644 rest-api-spec/api/cluster.node.info.json create mode 100644 rest-api-spec/api/cluster.node.restart.json create mode 100644 rest-api-spec/api/cluster.node.shutdown.json create mode 100644 rest-api-spec/api/cluster.node.stats.json create mode 100644 rest-api-spec/api/cluster.reroute.json create mode 100644 rest-api-spec/api/cluster.settings.json create mode 100644 rest-api-spec/api/cluster.shards.json create mode 100644 rest-api-spec/api/cluster.state.json create mode 100644 rest-api-spec/api/count.json create mode 100644 rest-api-spec/api/delete.json create mode 100644 rest-api-spec/api/deletebyquery.json create mode 100644 rest-api-spec/api/explain.json create mode 100644 rest-api-spec/api/get.json create mode 100644 rest-api-spec/api/index.json create mode 100644 rest-api-spec/api/indices.alias.delete.json create mode 100644 rest-api-spec/api/indices.alias.get.json create mode 100644 rest-api-spec/api/indices.alias.json create mode 100644 rest-api-spec/api/indices.alias.put.json create mode 100644 rest-api-spec/api/indices.analyze.json create mode 100644 rest-api-spec/api/indices.cache.clear.json create mode 100644 rest-api-spec/api/indices.close.json create mode 100644 rest-api-spec/api/indices.create.json create mode 100644 rest-api-spec/api/indices.delete.json create mode 100644 rest-api-spec/api/indices.exists.indices.json create mode 100644 rest-api-spec/api/indices.exists.types.json create mode 100644 rest-api-spec/api/indices.flush.json create mode 100644 rest-api-spec/api/indices.gateway.snapshot.json create mode 100644 rest-api-spec/api/indices.mapping.delete.json create mode 100644 rest-api-spec/api/indices.mapping.get.json create mode 100644 rest-api-spec/api/indices.mapping.put.json create mode 100644 rest-api-spec/api/indices.open.json create mode 100644 rest-api-spec/api/indices.optimize.json create mode 100644 rest-api-spec/api/indices.refresh.json create mode 100644 rest-api-spec/api/indices.segments.json create mode 100644 rest-api-spec/api/indices.settings.json create mode 100644 rest-api-spec/api/indices.stats.json create mode 100644 rest-api-spec/api/indices.status.json create mode 100644 rest-api-spec/api/indices.template.delete.json create mode 100644 rest-api-spec/api/indices.template.get.json create mode 100644 rest-api-spec/api/indices.template.put.json create mode 100644 rest-api-spec/api/indices.validate.query.json create mode 100644 rest-api-spec/api/indices.warmer.delete.json create mode 100644 rest-api-spec/api/indices.warmer.get.json create mode 100644 rest-api-spec/api/indices.warmer.put.json create mode 100644 rest-api-spec/api/main.json create mode 100644 rest-api-spec/api/mlt.json create mode 100644 rest-api-spec/api/percolate.json create mode 100644 rest-api-spec/api/search.json create mode 100644 rest-api-spec/api/suggest.json create mode 100644 rest-api-spec/api/update.json diff --git a/rest-api-spec/api/bulk.json b/rest-api-spec/api/bulk.json new file mode 100644 index 00000000000..bae0d466a3a --- /dev/null +++ b/rest-api-spec/api/bulk.json @@ -0,0 +1,29 @@ +{ + "bulk": { + "documentation": "http://elasticsearch.org/guide/reference/api/bulk/", + "methods": ["POST", "PUT"], + "url": { + "path": "/_bulk", + "paths": ["/_bulk", "/{index}/_bulk", "/{index}/{type}/_bulk"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "index": { + }, + "type": { + }, + "replication": { + }, + "consistency": { + }, + "refresh": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/cluster.health.json b/rest-api-spec/api/cluster.health.json new file mode 100644 index 00000000000..d77c75953e9 --- /dev/null +++ b/rest-api-spec/api/cluster.health.json @@ -0,0 +1,35 @@ +{ + "cluster.health": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-health/", + "methods": ["GET"], + "url": { + "path": "/_cluster/health", + "paths": ["/_cluster/health", "/_cluster/health/{index}"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "local": { + }, + "master_timeout": { + }, + "timeout": { + }, + "wait_for_status": { + }, + "wait_for_relocating_shards": { + }, + "wait_for_active_shards": { + }, + "wait_for_nodes": { + }, + "level": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/cluster.node.hotthreads.json b/rest-api-spec/api/cluster.node.hotthreads.json new file mode 100644 index 00000000000..71fb62e470b --- /dev/null +++ b/rest-api-spec/api/cluster.node.hotthreads.json @@ -0,0 +1,25 @@ +{ + "cluster.node.hotthreads": { + "documentation": "", + "methods": ["GET"], + "url": { + "path": "/_cluster/nodes/hotthreads", + "paths": ["/_cluster/nodes/hotthreads", "/_cluster/nodes/hot_threads", "/_cluster/nodes/{nodeId}/hotthreads", "/_cluster/nodes/{nodeId}/hot_threads", "/_nodes/hotthreads", "/_nodes/hot_threads", "/_nodes/{nodeId}/hotthreads", "/_nodes/{nodeId}/hot_threads"], + "parts": { + "nodeId": { + } + }, + "params": { + "threads": { + }, + "type": { + }, + "interval": { + }, + "snapshots": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/cluster.node.info.json b/rest-api-spec/api/cluster.node.info.json new file mode 100644 index 00000000000..b22f580d2bb --- /dev/null +++ b/rest-api-spec/api/cluster.node.info.json @@ -0,0 +1,39 @@ +{ + "cluster.node.info": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-info/", + "methods": ["GET"], + "url": { + "path": "/_cluster/nodes", + "paths": ["/_cluster/nodes", "/_cluster/nodes/{nodeId}", "/_nodes", "/_nodes/{nodeId}", "/_nodes/settings", "/_nodes/{nodeId}/settings", "/_nodes/os", "/_nodes/{nodeId}/os", "/_nodes/process", "/_nodes/{nodeId}/process", "/_nodes/jvm", "/_nodes/{nodeId}/jvm", "/_nodes/thread_pool", "/_nodes/{nodeId}/thread_pool", "/_nodes/network", "/_nodes/{nodeId}/network", "/_nodes/transport", "/_nodes/{nodeId}/transport", "/_nodes/http", "/_nodes/{nodeId}/http", "/_nodes/plugin", "/_nodes/{nodeId}/plugin"], + "parts": { + "nodeId": { + } + }, + "params": { + "clear": { + }, + "all": { + }, + "settings": { + }, + "os": { + }, + "process": { + }, + "jvm": { + }, + "thread_pool": { + }, + "network": { + }, + "transport": { + }, + "http": { + }, + "plugin": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/cluster.node.restart.json b/rest-api-spec/api/cluster.node.restart.json new file mode 100644 index 00000000000..dc19dd33830 --- /dev/null +++ b/rest-api-spec/api/cluster.node.restart.json @@ -0,0 +1,19 @@ +{ + "cluster.node.restart": { + "documentation": "", + "methods": ["POST"], + "url": { + "path": "/_cluster/nodes/_restart", + "paths": ["/_cluster/nodes/_restart", "/_cluster/nodes/{nodeId}/_restart"], + "parts": { + "nodeId": { + } + }, + "params": { + "delay": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/cluster.node.shutdown.json b/rest-api-spec/api/cluster.node.shutdown.json new file mode 100644 index 00000000000..3a9d3146836 --- /dev/null +++ b/rest-api-spec/api/cluster.node.shutdown.json @@ -0,0 +1,21 @@ +{ + "cluster.node.shutdown": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-shutdown/", + "methods": ["POST"], + "url": { + "path": "/_shutdown", + "paths": ["/_shutdown", "/_cluster/nodes/_shutdown", "/_cluster/nodes/{nodeId}/_shutdown"], + "parts": { + "nodeId": { + } + }, + "params": { + "delay": { + }, + "exit": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/cluster.node.stats.json b/rest-api-spec/api/cluster.node.stats.json new file mode 100644 index 00000000000..89cbbcff645 --- /dev/null +++ b/rest-api-spec/api/cluster.node.stats.json @@ -0,0 +1,43 @@ +{ + "cluster.node.stats": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-stats/", + "methods": ["GET"], + "url": { + "path": "/_cluster/nodes/stats", + "paths": ["/_cluster/nodes/stats", "/_cluster/nodes/{nodeId}/stats", "/_nodes/stats", "/_nodes/{nodeId}/stats", "/_nodes/stats/indices", "/_nodes/{nodeId}/stats/indices", "/_nodes/indices/stats", "/_nodes/{nodeId}/indices/stats", "/_nodes/indices/\" + flag.getRestName() + \"/stats", "/_nodes/{nodeId}/indices/\" + flag.getRestName() + \"/stats", "/_nodes/stats/indices/\" + flag.getRestName() + \"/{fields}", "/_nodes/{nodeId}/stats/indices/\" + flag.getRestName() + \"/{fields}", "/_nodes/indices/\" + flag.getRestName() + \"/{fields}/stats", "/_nodes/{nodeId}/indices/\" + flag.getRestName() + \"/{fields}/stats", "/_nodes/stats/os", "/_nodes/{nodeId}/stats/os", "/_nodes/os/stats", "/_nodes/{nodeId}/os/stats", "/_nodes/stats/process", "/_nodes/{nodeId}/stats/process", "/_nodes/process/stats", "/_nodes/{nodeId}/process/stats", "/_nodes/stats/jvm", "/_nodes/{nodeId}/stats/jvm", "/_nodes/jvm/stats", "/_nodes/{nodeId}/jvm/stats", "/_nodes/stats/thread_pool", "/_nodes/{nodeId}/stats/thread_pool", "/_nodes/thread_pool/stats", "/_nodes/{nodeId}/thread_pool/stats", "/_nodes/stats/network", "/_nodes/{nodeId}/stats/network", "/_nodes/network/stats", "/_nodes/{nodeId}/network/stats", "/_nodes/stats/fs", "/_nodes/{nodeId}/stats/fs", "/_nodes/fs/stats", "/_nodes/{nodeId}/fs/stats", "/_nodes/stats/transport", "/_nodes/{nodeId}/stats/transport", "/_nodes/transport/stats", "/_nodes/{nodeId}/transport/stats", "/_nodes/stats/http", "/_nodes/{nodeId}/stats/http", "/_nodes/http/stats", "/_nodes/{nodeId}/http/stats"], + "parts": { + "nodeId": { + }, + "fields": { + } + }, + "params": { + "clear": { + }, + "all": { + }, + "indices": { + }, + "os": { + }, + "process": { + }, + "jvm": { + }, + "thread_pool": { + }, + "network": { + }, + "fs": { + }, + "transport": { + }, + "http": { + }, + "fields": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/cluster.reroute.json b/rest-api-spec/api/cluster.reroute.json new file mode 100644 index 00000000000..3b67b80bbb6 --- /dev/null +++ b/rest-api-spec/api/cluster.reroute.json @@ -0,0 +1,20 @@ +{ + "cluster.reroute": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-reroute/", + "methods": ["POST"], + "url": { + "path": "/_cluster/reroute", + "paths": ["/_cluster/reroute"], + "parts": { + }, + "params": { + "dry_run": { + }, + "filter_metadata": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/cluster.settings.json b/rest-api-spec/api/cluster.settings.json new file mode 100644 index 00000000000..a44cf5dd46a --- /dev/null +++ b/rest-api-spec/api/cluster.settings.json @@ -0,0 +1,15 @@ +{ + "cluster.settings": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-update-settings/", + "methods": ["GET", "PUT"], + "url": { + "path": "/_cluster/settings", + "paths": ["/_cluster/settings"], + "parts": { + }, + "params": { + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/cluster.shards.json b/rest-api-spec/api/cluster.shards.json new file mode 100644 index 00000000000..720caf2fa4c --- /dev/null +++ b/rest-api-spec/api/cluster.shards.json @@ -0,0 +1,31 @@ +{ + "cluster.shards": { + "documentation": "", + "methods": ["GET", "POST"], + "url": { + "path": "/_search_shards", + "paths": ["/_search_shards", "/{index}/_search_shards", "/{index}/{type}/_search_shards"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "index": { + }, + "local": { + }, + "type": { + }, + "routing": { + }, + "preference": { + }, + "ignore_indices": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/cluster.state.json b/rest-api-spec/api/cluster.state.json new file mode 100644 index 00000000000..612fb97ba3b --- /dev/null +++ b/rest-api-spec/api/cluster.state.json @@ -0,0 +1,31 @@ +{ + "cluster.state": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-state/", + "methods": ["GET"], + "url": { + "path": "/_cluster/state", + "paths": ["/_cluster/state"], + "parts": { + }, + "params": { + "master_timeout": { + }, + "filter_nodes": { + }, + "filter_routing_table": { + }, + "filter_metadata": { + }, + "filter_blocks": { + }, + "filter_indices": { + }, + "filter_index_templates": { + }, + "local": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/count.json b/rest-api-spec/api/count.json new file mode 100644 index 00000000000..6fa7b2748da --- /dev/null +++ b/rest-api-spec/api/count.json @@ -0,0 +1,36 @@ +{ + "count": { + "documentation": "http://elasticsearch.org/guide/reference/api/count/", + "methods": ["POST", "GET"], + "url": { + "path": "/_count", + "paths": ["/_count", "/{index}/_count", "/{index}/{type}/_count"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + }, + "operation_threading": { + }, + "source": { + }, + "routing": { + }, + "min_score": { + }, + "type": { + }, + "preference": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/delete.json b/rest-api-spec/api/delete.json new file mode 100644 index 00000000000..859a2452e7b --- /dev/null +++ b/rest-api-spec/api/delete.json @@ -0,0 +1,37 @@ +{ + "delete": { + "documentation": "http://elasticsearch.org/guide/reference/api/delete/", + "methods": ["DELETE"], + "url": { + "path": "/{index}/{type}/{id}", + "paths": ["/{index}/{type}/{id}"], + "parts": { + "index": { + }, + "type": { + }, + "id": { + } + }, + "params": { + "id": { + }, + "parent": { + }, + "routing": { + }, + "timeout": { + }, + "refresh": { + }, + "version_type": { + }, + "replication": { + }, + "consistency": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/deletebyquery.json b/rest-api-spec/api/deletebyquery.json new file mode 100644 index 00000000000..0dce9993f19 --- /dev/null +++ b/rest-api-spec/api/deletebyquery.json @@ -0,0 +1,36 @@ +{ + "deletebyquery": { + "documentation": "", + "methods": ["DELETE"], + "url": { + "path": "/{index}/_query", + "paths": ["/{index}/_query", "/{index}/{type}/_query"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "index": { + }, + "source": { + }, + "type": { + }, + "timeout": { + }, + "routing": { + }, + "replication": { + }, + "consistency": { + }, + "ignore_indices": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/explain.json b/rest-api-spec/api/explain.json new file mode 100644 index 00000000000..4303e987e6d --- /dev/null +++ b/rest-api-spec/api/explain.json @@ -0,0 +1,48 @@ +{ + "explain": { + "documentation": "http://elasticsearch.org/guide/reference/api/explain/", + "methods": ["GET", "POST"], + "url": { + "path": "/{index}/{type}/{id}/_explain", + "paths": ["/{index}/{type}/{id}/_explain"], + "parts": { + "index": { + }, + "type": { + }, + "id": { + } + }, + "params": { + "id": { + }, + "parent": { + }, + "routing": { + }, + "preference": { + }, + "source": { + }, + "q": { + }, + "df": { + }, + "analyzer": { + }, + "analyze_wildcard": { + }, + "lowercase_expanded_terms": { + }, + "lenient": { + }, + "default_operator": { + }, + "fields": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/get.json b/rest-api-spec/api/get.json new file mode 100644 index 00000000000..76385c02f4b --- /dev/null +++ b/rest-api-spec/api/get.json @@ -0,0 +1,37 @@ +{ + "get": { + "documentation": "http://elasticsearch.org/guide/reference/api/get/", + "methods": ["GET", "HEAD", "POST"], + "url": { + "path": "/{index}/{type}/{id}", + "paths": ["/{index}/{type}/{id}", "/{index}/{type}/{id}/_source", "/_mget", "/{index}/_mget", "/{index}/{type}/_mget"], + "parts": { + "index": { + }, + "type": { + }, + "id": { + } + }, + "params": { + "id": { + }, + "refresh": { + }, + "routing": { + }, + "parent": { + }, + "preference": { + }, + "realtime": { + }, + "fields": { + }, + "type": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/index.json b/rest-api-spec/api/index.json new file mode 100644 index 00000000000..1fd856905ab --- /dev/null +++ b/rest-api-spec/api/index.json @@ -0,0 +1,45 @@ +{ + "index": { + "documentation": "http://elasticsearch.org/guide/reference/api/index_/", + "methods": ["POST", "PUT"], + "url": { + "path": "/{index}/{type}", + "paths": ["/{index}/{type}", "/{index}/{type}/{id}", "/{index}/{type}/{id}/_create"], + "parts": { + "index": { + }, + "type": { + }, + "id": { + } + }, + "params": { + "op_type": { + }, + "id": { + }, + "routing": { + }, + "parent": { + }, + "timestamp": { + }, + "ttl": { + }, + "timeout": { + }, + "refresh": { + }, + "version_type": { + }, + "percolate": { + }, + "replication": { + }, + "consistency": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.alias.delete.json b/rest-api-spec/api/indices.alias.delete.json new file mode 100644 index 00000000000..87d068dc4ab --- /dev/null +++ b/rest-api-spec/api/indices.alias.delete.json @@ -0,0 +1,25 @@ +{ + "indices.alias.delete": { + "documentation": "", + "methods": ["DELETE"], + "url": { + "path": "/{index}/_alias/{name}", + "paths": ["/{index}/_alias/{name}"], + "parts": { + "index": { + }, + "name": { + } + }, + "params": { + "index": { + }, + "name": { + }, + "timeout": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.alias.get.json b/rest-api-spec/api/indices.alias.get.json new file mode 100644 index 00000000000..750c5e3d005 --- /dev/null +++ b/rest-api-spec/api/indices.alias.get.json @@ -0,0 +1,25 @@ +{ + "indices.alias.get": { + "documentation": "", + "methods": ["GET"], + "url": { + "path": "/_alias/{name}", + "paths": ["/_alias/{name}", "/{index}/_alias/{name}"], + "parts": { + "name": { + }, + "index": { + } + }, + "params": { + "name": { + }, + "index": { + }, + "ignore_indices": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.alias.json b/rest-api-spec/api/indices.alias.json new file mode 100644 index 00000000000..b9f73ffc406 --- /dev/null +++ b/rest-api-spec/api/indices.alias.json @@ -0,0 +1,21 @@ +{ + "indices.alias": { + "documentation": "", + "methods": ["GET", "POST"], + "url": { + "path": "/_aliases", + "paths": ["/_aliases", "/{index}/_aliases"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "timeout": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.alias.put.json b/rest-api-spec/api/indices.alias.put.json new file mode 100644 index 00000000000..da2ed82adf0 --- /dev/null +++ b/rest-api-spec/api/indices.alias.put.json @@ -0,0 +1,26 @@ +{ + "indices.alias.put": { + "documentation": "", + "methods": ["PUT"], + "url": { + "path": "/{index}/_alias/{name}", + "paths": ["/{index}/_alias/{name}", "/_alias/{name}", "/{index}/_alias", "/_alias"], + "parts": { + "index": { + }, + "name": { + } + }, + "params": { + "index": { + }, + "name": { + }, + "timeout": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/indices.analyze.json b/rest-api-spec/api/indices.analyze.json new file mode 100644 index 00000000000..bd3c9c07ed3 --- /dev/null +++ b/rest-api-spec/api/indices.analyze.json @@ -0,0 +1,32 @@ +{ + "indices.analyze": { + "documentation": "", + "methods": ["GET", "POST"], + "url": { + "path": "/_analyze", + "paths": ["/_analyze", "/{index}/_analyze"], + "parts": { + "index": { + } + }, + "params": { + "text": { + }, + "index": { + }, + "prefer_local": { + }, + "analyzer": { + }, + "field": { + }, + "tokenizer": { + }, + "filters": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/indices.cache.clear.json b/rest-api-spec/api/indices.cache.clear.json new file mode 100644 index 00000000000..7d1083c28f7 --- /dev/null +++ b/rest-api-spec/api/indices.cache.clear.json @@ -0,0 +1,39 @@ +{ + "indices.cache.clear": { + "documentation": "", + "methods": ["POST", "GET"], + "url": { + "path": "/_cache/clear", + "paths": ["/_cache/clear", "/{index}/_cache/clear"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + }, + "filter": { + }, + "filter_cache": { + }, + "field_data": { + }, + "fielddata": { + }, + "id": { + }, + "id_cache": { + }, + "recycler": { + }, + "fields": { + }, + "filter_keys": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.close.json b/rest-api-spec/api/indices.close.json new file mode 100644 index 00000000000..ee857515d42 --- /dev/null +++ b/rest-api-spec/api/indices.close.json @@ -0,0 +1,21 @@ +{ + "indices.close": { + "documentation": "", + "methods": ["POST"], + "url": { + "path": "/{index}/_close", + "paths": ["/{index}/_close"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "timeout": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.create.json b/rest-api-spec/api/indices.create.json new file mode 100644 index 00000000000..ab65664c274 --- /dev/null +++ b/rest-api-spec/api/indices.create.json @@ -0,0 +1,22 @@ +{ + "indices.create": { + "documentation": "http://elasticsearch.org/guide/reference/mapping/", + "methods": ["PUT", "POST"], + "url": { + "path": "/{index}", + "paths": ["/{index}"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "timeout": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/indices.delete.json b/rest-api-spec/api/indices.delete.json new file mode 100644 index 00000000000..229fe127845 --- /dev/null +++ b/rest-api-spec/api/indices.delete.json @@ -0,0 +1,21 @@ +{ + "indices.delete": { + "documentation": "", + "methods": ["DELETE"], + "url": { + "path": "/", + "paths": ["/", "/{index}"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "timeout": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.exists.indices.json b/rest-api-spec/api/indices.exists.indices.json new file mode 100644 index 00000000000..896e1a1989b --- /dev/null +++ b/rest-api-spec/api/indices.exists.indices.json @@ -0,0 +1,19 @@ +{ + "indices.exists.indices": { + "documentation": "", + "methods": ["HEAD"], + "url": { + "path": "/{index}", + "paths": ["/{index}"], + "parts": { + "index": { + } + }, + "params": { + "index": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.exists.types.json b/rest-api-spec/api/indices.exists.types.json new file mode 100644 index 00000000000..8dfa4dc9633 --- /dev/null +++ b/rest-api-spec/api/indices.exists.types.json @@ -0,0 +1,23 @@ +{ + "indices.exists.types": { + "documentation": "", + "methods": ["HEAD"], + "url": { + "path": "/{index}/{type}", + "paths": ["/{index}/{type}"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "type": { + }, + "ignore_indices": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.flush.json b/rest-api-spec/api/indices.flush.json new file mode 100644 index 00000000000..cc8996ef4a3 --- /dev/null +++ b/rest-api-spec/api/indices.flush.json @@ -0,0 +1,27 @@ +{ + "indices.flush": { + "documentation": "", + "methods": ["POST", "GET"], + "url": { + "path": "/_flush", + "paths": ["/_flush", "/{index}/_flush"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + }, + "refresh": { + }, + "full": { + }, + "force": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.gateway.snapshot.json b/rest-api-spec/api/indices.gateway.snapshot.json new file mode 100644 index 00000000000..8dbc7f2f3af --- /dev/null +++ b/rest-api-spec/api/indices.gateway.snapshot.json @@ -0,0 +1,21 @@ +{ + "indices.gateway.snapshot": { + "documentation": "", + "methods": ["POST"], + "url": { + "path": "/_gateway/snapshot", + "paths": ["/_gateway/snapshot", "/{index}/_gateway/snapshot"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.mapping.delete.json b/rest-api-spec/api/indices.mapping.delete.json new file mode 100644 index 00000000000..a8f809bb3ed --- /dev/null +++ b/rest-api-spec/api/indices.mapping.delete.json @@ -0,0 +1,23 @@ +{ + "indices.mapping.delete": { + "documentation": "", + "methods": ["DELETE"], + "url": { + "path": "/{index}/{type}/_mapping", + "paths": ["/{index}/{type}/_mapping", "/{index}/{type}"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "index": { + }, + "type": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.mapping.get.json b/rest-api-spec/api/indices.mapping.get.json new file mode 100644 index 00000000000..8314ba377cd --- /dev/null +++ b/rest-api-spec/api/indices.mapping.get.json @@ -0,0 +1,23 @@ +{ + "indices.mapping.get": { + "documentation": "", + "methods": ["GET"], + "url": { + "path": "/_mapping", + "paths": ["/_mapping", "/{index}/_mapping", "/{index}/{type}/_mapping"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "index": { + }, + "type": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.mapping.put.json b/rest-api-spec/api/indices.mapping.put.json new file mode 100644 index 00000000000..2f9abdd60fa --- /dev/null +++ b/rest-api-spec/api/indices.mapping.put.json @@ -0,0 +1,27 @@ +{ + "indices.mapping.put": { + "documentation": "", + "methods": ["PUT", "POST"], + "url": { + "path": "/{index}/_mapping", + "paths": ["/{index}/_mapping", "/{index}/{type}/_mapping"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "index": { + }, + "type": { + }, + "timeout": { + }, + "ignore_conflicts": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.open.json b/rest-api-spec/api/indices.open.json new file mode 100644 index 00000000000..444ffe515e3 --- /dev/null +++ b/rest-api-spec/api/indices.open.json @@ -0,0 +1,21 @@ +{ + "indices.open": { + "documentation": "", + "methods": ["POST"], + "url": { + "path": "/{index}/_open", + "paths": ["/{index}/_open"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "timeout": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.optimize.json b/rest-api-spec/api/indices.optimize.json new file mode 100644 index 00000000000..c5ad4a15712 --- /dev/null +++ b/rest-api-spec/api/indices.optimize.json @@ -0,0 +1,33 @@ +{ + "indices.optimize": { + "documentation": "", + "methods": ["POST", "GET"], + "url": { + "path": "/_optimize", + "paths": ["/_optimize", "/{index}/_optimize"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + }, + "wait_for_merge": { + }, + "max_num_segments": { + }, + "only_expunge_deletes": { + }, + "flush": { + }, + "refresh": { + }, + "operation_threading": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.refresh.json b/rest-api-spec/api/indices.refresh.json new file mode 100644 index 00000000000..2c8c0eba5fa --- /dev/null +++ b/rest-api-spec/api/indices.refresh.json @@ -0,0 +1,23 @@ +{ + "indices.refresh": { + "documentation": "", + "methods": ["POST", "GET"], + "url": { + "path": "/_refresh", + "paths": ["/_refresh", "/{index}/_refresh"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + }, + "operation_threading": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.segments.json b/rest-api-spec/api/indices.segments.json new file mode 100644 index 00000000000..d4d5d7a7794 --- /dev/null +++ b/rest-api-spec/api/indices.segments.json @@ -0,0 +1,23 @@ +{ + "indices.segments": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-segments/", + "methods": ["GET"], + "url": { + "path": "/_segments", + "paths": ["/_segments", "/{index}/_segments"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + }, + "operation_threading": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.settings.json b/rest-api-spec/api/indices.settings.json new file mode 100644 index 00000000000..c63d550645d --- /dev/null +++ b/rest-api-spec/api/indices.settings.json @@ -0,0 +1,19 @@ +{ + "indices.settings": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-delete-index/", + "methods": ["GET", "PUT"], + "url": { + "path": "/_settings", + "paths": ["/_settings", "/{index}/_settings"], + "parts": { + "index": { + } + }, + "params": { + "index": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.stats.json b/rest-api-spec/api/indices.stats.json new file mode 100644 index 00000000000..637a2aa4d6d --- /dev/null +++ b/rest-api-spec/api/indices.stats.json @@ -0,0 +1,65 @@ +{ + "indices.stats": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-stats/", + "methods": ["GET"], + "url": { + "path": "/_stats", + "paths": ["/_stats", "/{index}/_stats", "_stats/docs", "/{index}/_stats/docs", "/_stats/store", "/{index}/_stats/store", "/_stats/indexing", "/{index}/_stats/indexing", "/_stats/indexing/{indexingTypes1}", "/{index}/_stats/indexing/{indexingTypes2}", "/_stats/search", "/{index}/_stats/search", "/_stats/search/{searchGroupsStats1}", "/{index}/_stats/search/{searchGroupsStats2}", "/_stats/get", "/{index}/_stats/get", "/_stats/refresh", "/{index}/_stats/refresh", "/_stats/merge", "/{index}/_stats/merge", "/_stats/flush", "/{index}/_stats/flush", "/_stats/warmer", "/{index}/_stats/warmer", "/_stats/filter_cache", "/{index}/_stats/filter_cache", "/_stats/id_cache", "/{index}/_stats/id_cache", "/_stats/fielddata", "/{index}/_stats/fielddata", "/_stats/fielddata/{fields}", "/{index}/_stats/fielddata/{fields}"], + "parts": { + "index": { + }, + "indexingTypes1": { + }, + "indexingTypes2": { + }, + "searchGroupsStats1": { + }, + "searchGroupsStats2": { + }, + "fields": { + } + }, + "params": { + "ignore_indices": { + }, + "clear": { + }, + "all": { + }, + "index": { + }, + "types": { + }, + "groups": { + }, + "docs": { + }, + "store": { + }, + "indexing": { + }, + "search": { + }, + "get": { + }, + "merge": { + }, + "refresh": { + }, + "flush": { + }, + "warmer": { + }, + "filter_cache": { + }, + "id_cache": { + }, + "fielddata": { + }, + "fields": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.status.json b/rest-api-spec/api/indices.status.json new file mode 100644 index 00000000000..a9ade1881fe --- /dev/null +++ b/rest-api-spec/api/indices.status.json @@ -0,0 +1,27 @@ +{ + "indices.status": { + "documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-status/", + "methods": ["GET"], + "url": { + "path": "/_status", + "paths": ["/_status", "/{index}/_status"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + }, + "recovery": { + }, + "snapshot": { + }, + "operation_threading": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.template.delete.json b/rest-api-spec/api/indices.template.delete.json new file mode 100644 index 00000000000..0c3d78325a6 --- /dev/null +++ b/rest-api-spec/api/indices.template.delete.json @@ -0,0 +1,21 @@ +{ + "indices.template.delete": { + "documentation": "", + "methods": ["DELETE"], + "url": { + "path": "/_template/{name}", + "paths": ["/_template/{name}"], + "parts": { + "name": { + } + }, + "params": { + "name": { + }, + "timeout": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.template.get.json b/rest-api-spec/api/indices.template.get.json new file mode 100644 index 00000000000..dd9c042ee04 --- /dev/null +++ b/rest-api-spec/api/indices.template.get.json @@ -0,0 +1,19 @@ +{ + "indices.template.get": { + "documentation": "", + "methods": ["GET"], + "url": { + "path": "/_template/{name}", + "paths": ["/_template/{name}"], + "parts": { + "name": { + } + }, + "params": { + "name": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.template.put.json b/rest-api-spec/api/indices.template.put.json new file mode 100644 index 00000000000..e3bc44d44d7 --- /dev/null +++ b/rest-api-spec/api/indices.template.put.json @@ -0,0 +1,29 @@ +{ + "indices.template.put": { + "documentation": "", + "methods": ["PUT", "POST"], + "url": { + "path": "/_template/{name}", + "paths": ["/_template/{name}"], + "parts": { + "name": { + } + }, + "params": { + "create": { + }, + "name": { + }, + "template": { + }, + "order": { + }, + "cause": { + }, + "timeout": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.validate.query.json b/rest-api-spec/api/indices.validate.query.json new file mode 100644 index 00000000000..c3556e6d2db --- /dev/null +++ b/rest-api-spec/api/indices.validate.query.json @@ -0,0 +1,32 @@ +{ + "indices.validate.query": { + "documentation": "", + "methods": ["GET", "POST"], + "url": { + "path": "/_validate/query", + "paths": ["/_validate/query", "/{index}/_validate/query", "/{index}/{type}/_validate/query"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + }, + "operation_threading": { + }, + "source": { + }, + "type": { + }, + "explain": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/indices.warmer.delete.json b/rest-api-spec/api/indices.warmer.delete.json new file mode 100644 index 00000000000..91d446ffeb7 --- /dev/null +++ b/rest-api-spec/api/indices.warmer.delete.json @@ -0,0 +1,25 @@ +{ + "indices.warmer.delete": { + "documentation": "", + "methods": ["DELETE"], + "url": { + "path": "/{index}/_warmer", + "paths": ["/{index}/_warmer", "/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"], + "parts": { + "index": { + }, + "name": { + }, + "type": { + } + }, + "params": { + "name": { + }, + "index": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.warmer.get.json b/rest-api-spec/api/indices.warmer.get.json new file mode 100644 index 00000000000..1c4306c036b --- /dev/null +++ b/rest-api-spec/api/indices.warmer.get.json @@ -0,0 +1,25 @@ +{ + "indices.warmer.get": { + "documentation": "", + "methods": ["GET"], + "url": { + "path": "/{index}/_warmer", + "paths": ["/{index}/_warmer", "/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"], + "parts": { + "index": { + }, + "name": { + }, + "type": { + } + }, + "params": { + "index": { + }, + "name": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/indices.warmer.put.json b/rest-api-spec/api/indices.warmer.put.json new file mode 100644 index 00000000000..675b95db2ad --- /dev/null +++ b/rest-api-spec/api/indices.warmer.put.json @@ -0,0 +1,27 @@ +{ + "indices.warmer.put": { + "documentation": "", + "methods": ["PUT"], + "url": { + "path": "/{index}/_warmer/{name}", + "paths": ["/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"], + "parts": { + "index": { + }, + "name": { + }, + "type": { + } + }, + "params": { + "name": { + }, + "index": { + }, + "type": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/main.json b/rest-api-spec/api/main.json new file mode 100644 index 00000000000..1234b0227e7 --- /dev/null +++ b/rest-api-spec/api/main.json @@ -0,0 +1,15 @@ +{ + "main": { + "documentation": "", + "methods": ["GET", "HEAD"], + "url": { + "path": "/", + "paths": ["/"], + "parts": { + }, + "params": { + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/mlt.json b/rest-api-spec/api/mlt.json new file mode 100644 index 00000000000..b67f22bc3c7 --- /dev/null +++ b/rest-api-spec/api/mlt.json @@ -0,0 +1,62 @@ +{ + "mlt": { + "documentation": "http://elasticsearch.org/guide/reference/api/more-like-this/", + "methods": ["GET", "POST"], + "url": { + "path": "/{index}/{type}/{id}/_mlt", + "paths": ["/{index}/{type}/{id}/_mlt"], + "parts": { + "index": { + }, + "type": { + }, + "id": { + } + }, + "params": { + "id": { + }, + "routing": { + }, + "mlt_fields": { + }, + "percent_terms_to_match": { + }, + "min_term_freq": { + }, + "max_query_terms": { + }, + "stop_words": { + }, + "min_doc_freq": { + }, + "max_doc_freq": { + }, + "min_word_len": { + }, + "max_word_len": { + }, + "boost_terms": { + }, + "search_type": { + }, + "search_indices": { + }, + "search_types": { + }, + "search_query_hint": { + }, + "search_size": { + }, + "search_from": { + }, + "search_scroll": { + }, + "search_source": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/percolate.json b/rest-api-spec/api/percolate.json new file mode 100644 index 00000000000..46c61f90d0c --- /dev/null +++ b/rest-api-spec/api/percolate.json @@ -0,0 +1,23 @@ +{ + "percolate": { + "documentation": "http://elasticsearch.org/guide/reference/api/percolate/", + "methods": ["GET", "POST"], + "url": { + "path": "/{index}/{type}/_percolate", + "paths": ["/{index}/{type}/_percolate"], + "parts": { + "index": { + }, + "type": { + } + }, + "params": { + "type": { + }, + "prefer_local": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/search.json b/rest-api-spec/api/search.json new file mode 100644 index 00000000000..0a7057787dd --- /dev/null +++ b/rest-api-spec/api/search.json @@ -0,0 +1,81 @@ +{ + "search": { + "documentation": "http://elasticsearch.org/guide/reference/api/search/scroll/", + "methods": ["GET", "POST"], + "url": { + "path": "/_msearch", + "paths": ["/_msearch", "/{index}/_msearch", "/{index}/{type}/_msearch", "/_search", "/{index}/_search", "/{index}/{type}/_search", "/_search/scroll", "/_search/scroll/{scroll_id}"], + "parts": { + "index": { + }, + "type": { + }, + "scroll_id": { + } + }, + "params": { + "index": { + }, + "type": { + }, + "ignore_indices": { + }, + "search_type": { + }, + "operation_threading": { + }, + "source": { + }, + "scroll": { + }, + "routing": { + }, + "preference": { + }, + "q": { + }, + "df": { + }, + "analyzer": { + }, + "analyze_wildcard": { + }, + "lowercase_expanded_terms": { + }, + "lenient": { + }, + "default_operator": { + }, + "from": { + }, + "size": { + }, + "explain": { + }, + "version": { + }, + "timeout": { + }, + "fields": { + }, + "sort": { + }, + "indices_boost": { + }, + "stats": { + }, + "suggest_field": { + }, + "suggest_text": { + }, + "suggest_size": { + }, + "suggest_mode": { + }, + "scroll_id": { + } + } + }, + "body": null + } +} diff --git a/rest-api-spec/api/suggest.json b/rest-api-spec/api/suggest.json new file mode 100644 index 00000000000..ee3f318e664 --- /dev/null +++ b/rest-api-spec/api/suggest.json @@ -0,0 +1,30 @@ +{ + "suggest": { + "documentation": "http://elasticsearch.org/guide/reference/api/search/suggest/", + "methods": ["POST", "GET"], + "url": { + "path": "/_suggest", + "paths": ["/_suggest", "/{index}/_suggest"], + "parts": { + "index": { + } + }, + "params": { + "index": { + }, + "ignore_indices": { + }, + "operation_threading": { + }, + "source": { + }, + "routing": { + }, + "preference": { + } + } + }, + "body": { + } + } +} diff --git a/rest-api-spec/api/update.json b/rest-api-spec/api/update.json new file mode 100644 index 00000000000..59a3947ee50 --- /dev/null +++ b/rest-api-spec/api/update.json @@ -0,0 +1,52 @@ +{ + "update": { + "documentation": "http://elasticsearch.org/guide/reference/api/update/", + "methods": ["POST"], + "url": { + "path": "/{index}/{type}/{id}/_update", + "paths": ["/{index}/{type}/{id}/_update"], + "parts": { + "index": { + }, + "type": { + }, + "id": { + } + }, + "params": { + "id": { + }, + "routing": { + }, + "parent": { + }, + "timeout": { + }, + "refresh": { + }, + "replication": { + }, + "consistency": { + }, + "percolate": { + }, + "script": { + }, + "lang": { + }, + "fields": { + }, + "retry_on_conflict": { + }, + "timestamp": { + }, + "ttl": { + }, + "version_type": { + } + } + }, + "body": { + } + } +}