diff options
Diffstat (limited to 'rest-api-spec/api/nodes.shutdown.json')
-rw-r--r-- | rest-api-spec/api/nodes.shutdown.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/rest-api-spec/api/nodes.shutdown.json b/rest-api-spec/api/nodes.shutdown.json new file mode 100644 index 0000000..578abe0 --- /dev/null +++ b/rest-api-spec/api/nodes.shutdown.json @@ -0,0 +1,27 @@ +{ + "nodes.shutdown": { + "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-nodes-shutdown.html", + "methods": ["POST"], + "url": { + "path": "/_shutdown", + "paths": ["/_shutdown", "/_cluster/nodes/_shutdown", "/_cluster/nodes/{node_id}/_shutdown"], + "parts": { + "node_id": { + "type" : "list", + "description" : "A comma-separated list of node IDs or names to perform the operation on; use `_local` to perform the operation on the node you're connected to, leave empty to perform the operation on all nodes" + } + }, + "params": { + "delay": { + "type" : "time", + "description" : "Set the delay for the operation (default: 1s)" + }, + "exit": { + "type" : "boolean", + "description" : "Exit the JVM as well (default: true)" + } + } + }, + "body": null + } +} |