28 lines
909 B
JSON
28 lines
909 B
JSON
{
|
|
"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": {
|
|
"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
|
|
}
|
|
}
|