Introduce stability description to the REST API specification (#38413) (#43278)

* introduce state to the REST API specification

* change state over to stability

* CCR is no GA updated to stable

* SQL is now GA so marked as stable

* Introduce `internal` as state for API's, marks stable in terms of lifetime but unstable in terms of guarantees on its output format since it exposes internal representations

* make setting a wrong stability value, or not setting it at all an error that causes the YAML test suite to fail

* update spec files to be explicit about their stability state

* Document the fact that stability needs to be defined

Otherwise the YAML test runner will fail (with a nice exception message)

* address check style violations

* update rest spec unit tests to include stability

* found one more test spec file not declaring stability, made sure stability appears after documentation everywhere

* cluster.state is stable, mark response in some way to denote its a key value format that can be changed during minors

* mark data frame API's as beta

* remove internal and private as states for an API

* removed the wrong enum values in the Stability Enum in the previous commit

(cherry picked from commit 61c34bbd92f8f7e5f22fa411c6b682b0ebd8a99d)
This commit is contained in:
Martijn Laarman 2019-06-17 16:57:13 +02:00 committed by GitHub
parent 21da84edbc
commit 8b1b9f8ab9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
266 changed files with 326 additions and 8 deletions

View File

@ -1,5 +1,6 @@
{ {
"scripts_painless_context": { "scripts_painless_context": {
"stability": "experimental",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_scripts/painless/_context"], "paths": ["/_scripts/painless/_context"],

View File

@ -1,6 +1,7 @@
{ {
"cat.example": { "cat.example": {
"documentation": "", "documentation": "",
"stability" : "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/example"], "paths": ["/_cat/example"],

View File

@ -10,6 +10,7 @@ Example for the ["Create Index"](http://www.elastic.co/guide/en/elasticsearch/re
{ {
"indices.create": { "indices.create": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html",
"stability": "stable",
"methods": ["PUT", "POST"], "methods": ["PUT", "POST"],
"url": { "url": {
"paths": ["/{index}"], "paths": ["/{index}"],
@ -38,10 +39,30 @@ The specification contains:
* The _name_ of the API (`indices.create`), which usually corresponds to the client calls * The _name_ of the API (`indices.create`), which usually corresponds to the client calls
* Link to the documentation at <http://elastic.co> * Link to the documentation at <http://elastic.co>
* `stability` indicating the state of the API, has to be declared explicitly or YAML tests will fail
* `experimental` highly likely to break in the near future (minor/path), no bwc guarantees.
Possibly removed in the future.
* `beta` less likely to break or be removed but still reserve the right to do so
* `stable` No backwards breaking changes in a minor
* List of HTTP methods for the endpoint * List of HTTP methods for the endpoint
* URL specification: path, parts, parameters * URL specification: path, parts, parameters
* Whether body is allowed for the endpoint or not and its description * Whether body is allowed for the endpoint or not and its description
**NOTE**
If an API is stable but it response should be treated as an arbitrary map of key values please notate this as followed
```json
{
"api.name": {
"stability" : "stable",
"response": {
"treat_json_as_key_value" : true
}
}
}
```
The `methods` and `url.paths` elements list all possible HTTP methods and URLs for the endpoint; The `methods` and `url.paths` elements list all possible HTTP methods and URLs for the endpoint;
it is the responsibility of the developer to use this information for a sensible API on the target platform. it is the responsibility of the developer to use this information for a sensible API on the target platform.

View File

@ -1,6 +1,7 @@
{ {
"bulk": { "bulk": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html",
"stability": "stable",
"methods": ["POST", "PUT"], "methods": ["POST", "PUT"],
"url": { "url": {
"paths": ["/_bulk", "/{index}/_bulk", "/{index}/{type}/_bulk"], "paths": ["/_bulk", "/{index}/_bulk", "/{index}/{type}/_bulk"],

View File

@ -1,6 +1,7 @@
{ {
"cat.aliases": { "cat.aliases": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/aliases", "/_cat/aliases/{name}"], "paths": ["/_cat/aliases", "/_cat/aliases/{name}"],

View File

@ -1,6 +1,7 @@
{ {
"cat.allocation": { "cat.allocation": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/allocation", "/_cat/allocation/{node_id}"], "paths": ["/_cat/allocation", "/_cat/allocation/{node_id}"],

View File

@ -1,6 +1,7 @@
{ {
"cat.count": { "cat.count": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/count", "/_cat/count/{index}"], "paths": ["/_cat/count", "/_cat/count/{index}"],

View File

@ -1,6 +1,7 @@
{ {
"cat.fielddata": { "cat.fielddata": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/fielddata", "/_cat/fielddata/{fields}"], "paths": ["/_cat/fielddata", "/_cat/fielddata/{fields}"],

View File

@ -1,6 +1,7 @@
{ {
"cat.health": { "cat.health": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/health"], "paths": ["/_cat/health"],

View File

@ -1,6 +1,7 @@
{ {
"cat.help": { "cat.help": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat"], "paths": ["/_cat"],

View File

@ -1,6 +1,7 @@
{ {
"cat.indices": { "cat.indices": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/indices", "/_cat/indices/{index}"], "paths": ["/_cat/indices", "/_cat/indices/{index}"],

View File

@ -1,6 +1,7 @@
{ {
"cat.master": { "cat.master": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/master"], "paths": ["/_cat/master"],

View File

@ -1,6 +1,7 @@
{ {
"cat.nodeattrs": { "cat.nodeattrs": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/nodeattrs"], "paths": ["/_cat/nodeattrs"],

View File

@ -1,6 +1,7 @@
{ {
"cat.nodes": { "cat.nodes": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/nodes"], "paths": ["/_cat/nodes"],

View File

@ -1,6 +1,7 @@
{ {
"cat.pending_tasks": { "cat.pending_tasks": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/pending_tasks"], "paths": ["/_cat/pending_tasks"],

View File

@ -1,6 +1,7 @@
{ {
"cat.plugins": { "cat.plugins": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/plugins"], "paths": ["/_cat/plugins"],

View File

@ -1,6 +1,7 @@
{ {
"cat.recovery": { "cat.recovery": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/recovery", "/_cat/recovery/{index}"], "paths": ["/_cat/recovery", "/_cat/recovery/{index}"],

View File

@ -1,6 +1,7 @@
{ {
"cat.repositories": { "cat.repositories": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/repositories"], "paths": ["/_cat/repositories"],

View File

@ -1,6 +1,7 @@
{ {
"cat.segments": { "cat.segments": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/segments", "/_cat/segments/{index}"], "paths": ["/_cat/segments", "/_cat/segments/{index}"],

View File

@ -1,6 +1,7 @@
{ {
"cat.shards": { "cat.shards": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/shards", "/_cat/shards/{index}"], "paths": ["/_cat/shards", "/_cat/shards/{index}"],

View File

@ -1,6 +1,7 @@
{ {
"cat.snapshots": { "cat.snapshots": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": [ "paths": [

View File

@ -1,6 +1,7 @@
{ {
"cat.tasks": { "cat.tasks": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/tasks"], "paths": ["/_cat/tasks"],

View File

@ -1,6 +1,7 @@
{ {
"cat.templates": { "cat.templates": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/templates", "/_cat/templates/{name}"], "paths": ["/_cat/templates", "/_cat/templates/{name}"],

View File

@ -1,6 +1,7 @@
{ {
"cat.thread_pool": { "cat.thread_pool": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cat/thread_pool","/_cat/thread_pool/{thread_pool_patterns}"], "paths": ["/_cat/thread_pool","/_cat/thread_pool/{thread_pool_patterns}"],

View File

@ -1,6 +1,7 @@
{ {
"clear_scroll": { "clear_scroll": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html",
"stability": "stable",
"methods": ["DELETE"], "methods": ["DELETE"],
"url": { "url": {
"paths": [ "/_search/scroll"], "paths": [ "/_search/scroll"],

View File

@ -1,6 +1,7 @@
{ {
"cluster.allocation_explain": { "cluster.allocation_explain": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html",
"stability": "stable",
"methods": ["GET", "POST"], "methods": ["GET", "POST"],
"url": { "url": {
"paths": ["/_cluster/allocation/explain"], "paths": ["/_cluster/allocation/explain"],

View File

@ -1,6 +1,7 @@
{ {
"cluster.get_settings": { "cluster.get_settings": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cluster/settings"], "paths": ["/_cluster/settings"],

View File

@ -1,6 +1,7 @@
{ {
"cluster.health": { "cluster.health": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cluster/health", "/_cluster/health/{index}"], "paths": ["/_cluster/health", "/_cluster/health/{index}"],

View File

@ -1,6 +1,7 @@
{ {
"cluster.pending_tasks": { "cluster.pending_tasks": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cluster/pending_tasks"], "paths": ["/_cluster/pending_tasks"],

View File

@ -1,6 +1,7 @@
{ {
"cluster.put_settings": { "cluster.put_settings": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html",
"stability": "stable",
"methods": ["PUT"], "methods": ["PUT"],
"url": { "url": {
"paths": ["/_cluster/settings"], "paths": ["/_cluster/settings"],

View File

@ -1,6 +1,7 @@
{ {
"cluster.remote_info": { "cluster.remote_info": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_remote/info"], "paths": ["/_remote/info"],

View File

@ -1,6 +1,7 @@
{ {
"cluster.reroute": { "cluster.reroute": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/_cluster/reroute"], "paths": ["/_cluster/reroute"],

View File

@ -1,6 +1,7 @@
{ {
"cluster.state": { "cluster.state": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html",
"stability" : "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": [ "paths": [
@ -56,6 +57,9 @@
} }
} }
}, },
"body": null "body": null,
"response": {
"treat_json_as_key_value" : true
}
} }
} }

View File

@ -1,6 +1,7 @@
{ {
"cluster.stats": { "cluster.stats": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_cluster/stats", "/_cluster/stats/nodes/{node_id}"], "paths": ["/_cluster/stats", "/_cluster/stats/nodes/{node_id}"],

View File

@ -1,6 +1,7 @@
{ {
"count": { "count": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html",
"stability": "stable",
"methods": ["POST", "GET"], "methods": ["POST", "GET"],
"url": { "url": {
"paths": ["/_count", "/{index}/_count"], "paths": ["/_count", "/{index}/_count"],

View File

@ -1,6 +1,7 @@
{ {
"create": { "create": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html",
"stability": "stable",
"methods": ["PUT","POST"], "methods": ["PUT","POST"],
"url": { "url": {
"paths": ["/{index}/_create/{id}"], "paths": ["/{index}/_create/{id}"],

View File

@ -1,6 +1,7 @@
{ {
"delete": { "delete": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html",
"stability": "stable",
"methods": ["DELETE"], "methods": ["DELETE"],
"url": { "url": {
"paths": ["/{index}/_doc/{id}"], "paths": ["/{index}/_doc/{id}"],

View File

@ -1,6 +1,7 @@
{ {
"delete_by_query": { "delete_by_query": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/{index}/_delete_by_query"], "paths": ["/{index}/_delete_by_query"],

View File

@ -1,6 +1,7 @@
{ {
"delete_by_query_rethrottle": { "delete_by_query_rethrottle": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/_delete_by_query/{task_id}/_rethrottle"], "paths": ["/_delete_by_query/{task_id}/_rethrottle"],

View File

@ -1,6 +1,7 @@
{ {
"delete_script": { "delete_script": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html",
"stability": "stable",
"methods": ["DELETE"], "methods": ["DELETE"],
"url": { "url": {
"paths": [ "/_scripts/{id}" ], "paths": [ "/_scripts/{id}" ],

View File

@ -1,6 +1,7 @@
{ {
"exists": { "exists": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html",
"stability": "stable",
"methods": ["HEAD"], "methods": ["HEAD"],
"url": { "url": {
"paths": ["/{index}/_doc/{id}"], "paths": ["/{index}/_doc/{id}"],

View File

@ -1,6 +1,7 @@
{ {
"exists_source": { "exists_source": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html",
"stability": "stable",
"methods": ["HEAD"], "methods": ["HEAD"],
"url": { "url": {
"paths": ["/{index}/_source/{id}"], "paths": ["/{index}/_source/{id}"],

View File

@ -1,6 +1,7 @@
{ {
"explain": { "explain": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html",
"stability": "stable",
"methods": ["GET", "POST"], "methods": ["GET", "POST"],
"url": { "url": {
"paths": ["/{index}/_explain/{id}"], "paths": ["/{index}/_explain/{id}"],

View File

@ -1,6 +1,7 @@
{ {
"field_caps": { "field_caps": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html",
"stability": "stable",
"methods": ["GET", "POST"], "methods": ["GET", "POST"],
"url": { "url": {
"paths": [ "paths": [

View File

@ -1,6 +1,7 @@
{ {
"get": { "get": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/{index}/_doc/{id}"], "paths": ["/{index}/_doc/{id}"],

View File

@ -1,6 +1,7 @@
{ {
"get_script": { "get_script": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": [ "/_scripts/{id}" ], "paths": [ "/_scripts/{id}" ],

View File

@ -1,6 +1,7 @@
{ {
"get_source": { "get_source": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/{index}/_source/{id}"], "paths": ["/{index}/_source/{id}"],

View File

@ -1,6 +1,7 @@
{ {
"index": { "index": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html",
"stability": "stable",
"methods": ["POST", "PUT"], "methods": ["POST", "PUT"],
"url": { "url": {
"paths": ["/{index}/_doc/{id}", "/{index}/_doc"], "paths": ["/{index}/_doc/{id}", "/{index}/_doc"],

View File

@ -1,6 +1,7 @@
{ {
"indices.analyze": { "indices.analyze": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html",
"stability": "stable",
"methods": ["GET", "POST"], "methods": ["GET", "POST"],
"url": { "url": {
"paths": ["/_analyze", "/{index}/_analyze"], "paths": ["/_analyze", "/{index}/_analyze"],

View File

@ -1,6 +1,7 @@
{ {
"indices.clear_cache": { "indices.clear_cache": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/_cache/clear", "/{index}/_cache/clear"], "paths": ["/_cache/clear", "/{index}/_cache/clear"],

View File

@ -1,6 +1,7 @@
{ {
"indices.close": { "indices.close": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/{index}/_close"], "paths": ["/{index}/_close"],

View File

@ -1,6 +1,7 @@
{ {
"indices.create": { "indices.create": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html",
"stability": "stable",
"methods": ["PUT"], "methods": ["PUT"],
"url": { "url": {
"paths": ["/{index}"], "paths": ["/{index}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.delete": { "indices.delete": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html",
"stability": "stable",
"methods": ["DELETE"], "methods": ["DELETE"],
"url": { "url": {
"paths": ["/{index}"], "paths": ["/{index}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.delete_alias": { "indices.delete_alias": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html",
"stability": "stable",
"methods": ["DELETE"], "methods": ["DELETE"],
"url": { "url": {
"paths": ["/{index}/_alias/{name}", "/{index}/_aliases/{name}"], "paths": ["/{index}/_alias/{name}", "/{index}/_aliases/{name}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.delete_template": { "indices.delete_template": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html",
"stability": "stable",
"methods": ["DELETE"], "methods": ["DELETE"],
"url": { "url": {
"paths": ["/_template/{name}"], "paths": ["/_template/{name}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.exists": { "indices.exists": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html",
"stability": "stable",
"methods": [ "HEAD" ], "methods": [ "HEAD" ],
"url": { "url": {
"paths": [ "/{index}" ], "paths": [ "/{index}" ],

View File

@ -1,6 +1,7 @@
{ {
"indices.exists_alias": { "indices.exists_alias": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html",
"stability": "stable",
"methods": ["HEAD"], "methods": ["HEAD"],
"url": { "url": {
"paths": ["/_alias/{name}", "/{index}/_alias/{name}"], "paths": ["/_alias/{name}", "/{index}/_alias/{name}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.exists_template": { "indices.exists_template": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html",
"stability": "stable",
"methods": ["HEAD"], "methods": ["HEAD"],
"url": { "url": {
"paths": [ "/_template/{name}" ], "paths": [ "/_template/{name}" ],

View File

@ -1,6 +1,7 @@
{ {
"indices.exists_type": { "indices.exists_type": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html",
"stability": "stable",
"methods": ["HEAD"], "methods": ["HEAD"],
"deprecated" : { "deprecated" : {
"version" : "7.0.0", "version" : "7.0.0",

View File

@ -1,6 +1,7 @@
{ {
"indices.flush": { "indices.flush": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html",
"stability": "stable",
"methods": ["POST", "GET"], "methods": ["POST", "GET"],
"url": { "url": {
"paths": ["/_flush", "/{index}/_flush"], "paths": ["/_flush", "/{index}/_flush"],

View File

@ -1,6 +1,7 @@
{ {
"indices.flush_synced": { "indices.flush_synced": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html",
"stability": "stable",
"methods": ["POST", "GET"], "methods": ["POST", "GET"],
"url": { "url": {
"paths": [ "paths": [

View File

@ -1,6 +1,7 @@
{ {
"indices.forcemerge": { "indices.forcemerge": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/_forcemerge", "/{index}/_forcemerge"], "paths": ["/_forcemerge", "/{index}/_forcemerge"],

View File

@ -1,6 +1,7 @@
{ {
"indices.get":{ "indices.get":{
"documentation":"http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html", "documentation":"http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html",
"stability": "stable",
"methods":[ "GET" ], "methods":[ "GET" ],
"url":{ "url":{
"paths":[ "/{index}" ], "paths":[ "/{index}" ],

View File

@ -1,6 +1,7 @@
{ {
"indices.get_alias": { "indices.get_alias": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": [ "/_alias", "/_alias/{name}", "/{index}/_alias/{name}", "/{index}/_alias"], "paths": [ "/_alias", "/_alias/{name}", "/{index}/_alias/{name}", "/{index}/_alias"],

View File

@ -1,6 +1,7 @@
{ {
"indices.get_field_mapping": { "indices.get_field_mapping": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_mapping/field/{fields}", "/{index}/_mapping/field/{fields}"], "paths": ["/_mapping/field/{fields}", "/{index}/_mapping/field/{fields}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.get_mapping": { "indices.get_mapping": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_mapping", "/{index}/_mapping"], "paths": ["/_mapping", "/{index}/_mapping"],

View File

@ -1,6 +1,7 @@
{ {
"indices.get_settings": { "indices.get_settings": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_settings", "/{index}/_settings", "/{index}/_settings/{name}", "/_settings/{name}"], "paths": ["/_settings", "/{index}/_settings", "/{index}/_settings/{name}", "/_settings/{name}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.get_template": { "indices.get_template": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": [ "paths": [

View File

@ -1,6 +1,7 @@
{ {
"indices.get_upgrade": { "indices.get_upgrade": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_upgrade", "/{index}/_upgrade"], "paths": ["/_upgrade", "/{index}/_upgrade"],

View File

@ -1,6 +1,7 @@
{ {
"indices.open": { "indices.open": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/{index}/_open"], "paths": ["/{index}/_open"],

View File

@ -1,6 +1,7 @@
{ {
"indices.put_alias": { "indices.put_alias": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html",
"stability": "stable",
"methods": ["PUT", "POST"], "methods": ["PUT", "POST"],
"url": { "url": {
"paths": ["/{index}/_alias/{name}", "/{index}/_aliases/{name}"], "paths": ["/{index}/_alias/{name}", "/{index}/_aliases/{name}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.put_mapping": { "indices.put_mapping": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html",
"stability": "stable",
"methods": ["PUT", "POST"], "methods": ["PUT", "POST"],
"url": { "url": {
"paths": ["{index}/_mapping"], "paths": ["{index}/_mapping"],

View File

@ -1,6 +1,7 @@
{ {
"indices.put_settings": { "indices.put_settings": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html",
"stability": "stable",
"methods": ["PUT"], "methods": ["PUT"],
"url": { "url": {
"paths": ["/_settings", "/{index}/_settings"], "paths": ["/_settings", "/{index}/_settings"],

View File

@ -1,6 +1,7 @@
{ {
"indices.put_template": { "indices.put_template": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html",
"stability": "stable",
"methods": ["PUT", "POST"], "methods": ["PUT", "POST"],
"url": { "url": {
"paths": ["/_template/{name}"], "paths": ["/_template/{name}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.recovery" : { "indices.recovery" : {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_recovery", "/{index}/_recovery"], "paths": ["/_recovery", "/{index}/_recovery"],

View File

@ -1,6 +1,7 @@
{ {
"indices.refresh": { "indices.refresh": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html",
"stability": "stable",
"methods": ["POST", "GET"], "methods": ["POST", "GET"],
"url": { "url": {
"paths": ["/_refresh", "/{index}/_refresh"], "paths": ["/_refresh", "/{index}/_refresh"],

View File

@ -1,6 +1,7 @@
{ {
"indices.rollover": { "indices.rollover": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/{alias}/_rollover", "/{alias}/_rollover/{new_index}"], "paths": ["/{alias}/_rollover", "/{alias}/_rollover/{new_index}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.segments": { "indices.segments": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_segments", "/{index}/_segments"], "paths": ["/_segments", "/{index}/_segments"],

View File

@ -1,6 +1,7 @@
{ {
"indices.shard_stores": { "indices.shard_stores": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_shard_stores", "/{index}/_shard_stores"], "paths": ["/_shard_stores", "/{index}/_shard_stores"],

View File

@ -1,6 +1,7 @@
{ {
"indices.shrink": { "indices.shrink": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html",
"stability": "stable",
"methods": ["PUT", "POST"], "methods": ["PUT", "POST"],
"url": { "url": {
"paths": ["/{index}/_shrink/{target}"], "paths": ["/{index}/_shrink/{target}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.split": { "indices.split": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html",
"stability": "stable",
"methods": ["PUT", "POST"], "methods": ["PUT", "POST"],
"url": { "url": {
"paths": ["/{index}/_split/{target}"], "paths": ["/{index}/_split/{target}"],

View File

@ -1,6 +1,7 @@
{ {
"indices.stats": { "indices.stats": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": [ "paths": [

View File

@ -1,6 +1,7 @@
{ {
"indices.update_aliases": { "indices.update_aliases": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/_aliases"], "paths": ["/_aliases"],

View File

@ -1,6 +1,7 @@
{ {
"indices.upgrade": { "indices.upgrade": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/_upgrade", "/{index}/_upgrade"], "paths": ["/_upgrade", "/{index}/_upgrade"],

View File

@ -1,6 +1,7 @@
{ {
"indices.validate_query": { "indices.validate_query": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html",
"stability": "stable",
"methods": ["GET", "POST"], "methods": ["GET", "POST"],
"url": { "url": {
"paths": ["/_validate/query", "/{index}/_validate/query"], "paths": ["/_validate/query", "/{index}/_validate/query"],

View File

@ -1,6 +1,7 @@
{ {
"info": { "info": {
"documentation": "http://www.elastic.co/guide/", "documentation": "http://www.elastic.co/guide/",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/"], "paths": ["/"],

View File

@ -1,6 +1,7 @@
{ {
"ingest.delete_pipeline": { "ingest.delete_pipeline": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html",
"stability": "stable",
"methods": [ "DELETE" ], "methods": [ "DELETE" ],
"url": { "url": {
"paths": [ "/_ingest/pipeline/{id}" ], "paths": [ "/_ingest/pipeline/{id}" ],

View File

@ -1,6 +1,7 @@
{ {
"ingest.get_pipeline": { "ingest.get_pipeline": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html",
"stability": "stable",
"methods": [ "GET" ], "methods": [ "GET" ],
"url": { "url": {
"paths": [ "/_ingest/pipeline", "/_ingest/pipeline/{id}" ], "paths": [ "/_ingest/pipeline", "/_ingest/pipeline/{id}" ],

View File

@ -1,6 +1,7 @@
{ {
"ingest.processor_grok": { "ingest.processor_grok": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get",
"stability": "stable",
"methods": [ "GET" ], "methods": [ "GET" ],
"url": { "url": {
"paths": ["/_ingest/processor/grok"], "paths": ["/_ingest/processor/grok"],

View File

@ -1,6 +1,7 @@
{ {
"ingest.put_pipeline": { "ingest.put_pipeline": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html",
"stability": "stable",
"methods": [ "PUT" ], "methods": [ "PUT" ],
"url": { "url": {
"paths": [ "/_ingest/pipeline/{id}" ], "paths": [ "/_ingest/pipeline/{id}" ],

View File

@ -1,6 +1,7 @@
{ {
"ingest.simulate": { "ingest.simulate": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html",
"stability": "stable",
"methods": [ "GET", "POST" ], "methods": [ "GET", "POST" ],
"url": { "url": {
"paths": [ "/_ingest/pipeline/_simulate", "/_ingest/pipeline/{id}/_simulate" ], "paths": [ "/_ingest/pipeline/_simulate", "/_ingest/pipeline/{id}/_simulate" ],

View File

@ -1,6 +1,7 @@
{ {
"mget": { "mget": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html",
"stability": "stable",
"methods": ["GET", "POST"], "methods": ["GET", "POST"],
"url": { "url": {
"paths": ["/_mget", "/{index}/_mget"], "paths": ["/_mget", "/{index}/_mget"],

View File

@ -1,6 +1,7 @@
{ {
"msearch": { "msearch": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html",
"stability": "stable",
"methods": ["GET", "POST"], "methods": ["GET", "POST"],
"url": { "url": {
"paths": ["/_msearch", "/{index}/_msearch"], "paths": ["/_msearch", "/{index}/_msearch"],

View File

@ -1,6 +1,7 @@
{ {
"msearch_template": { "msearch_template": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html",
"stability": "stable",
"methods": ["GET", "POST"], "methods": ["GET", "POST"],
"url": { "url": {
"paths": ["/_msearch/template", "/{index}/_msearch/template"], "paths": ["/_msearch/template", "/{index}/_msearch/template"],

View File

@ -1,6 +1,7 @@
{ {
"mtermvectors" : { "mtermvectors" : {
"documentation" : "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html", "documentation" : "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html",
"stability": "stable",
"methods" : ["GET", "POST"], "methods" : ["GET", "POST"],
"url" : { "url" : {
"paths" : ["/_mtermvectors", "/{index}/_mtermvectors"], "paths" : ["/_mtermvectors", "/{index}/_mtermvectors"],

View File

@ -1,6 +1,7 @@
{ {
"nodes.hot_threads": { "nodes.hot_threads": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_nodes/hot_threads", "/_nodes/{node_id}/hot_threads"], "paths": ["/_nodes/hot_threads", "/_nodes/{node_id}/hot_threads"],

View File

@ -1,6 +1,7 @@
{ {
"nodes.info": { "nodes.info": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": ["/_nodes", "/_nodes/{node_id}", "/_nodes/{metric}", "/_nodes/{node_id}/{metric}"], "paths": ["/_nodes", "/_nodes/{node_id}", "/_nodes/{metric}", "/_nodes/{node_id}/{metric}"],

View File

@ -1,6 +1,7 @@
{ {
"nodes.reload_secure_settings": { "nodes.reload_secure_settings": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings",
"stability": "stable",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"paths": ["/_nodes/reload_secure_settings", "/_nodes/{node_id}/reload_secure_settings"], "paths": ["/_nodes/reload_secure_settings", "/_nodes/{node_id}/reload_secure_settings"],

View File

@ -1,6 +1,7 @@
{ {
"nodes.stats": { "nodes.stats": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": [ "paths": [

View File

@ -1,6 +1,7 @@
{ {
"nodes.usage": { "nodes.usage": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html",
"stability": "stable",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"paths": [ "paths": [

Some files were not shown because too many files have changed in this diff Show More