Added the API definition for `_cluster/nodes/_shutdown`

This commit is contained in:
Karel Minarik 2013-05-26 12:53:31 +02:00
parent 50675df898
commit 57a18bfa53
1 changed files with 6 additions and 0 deletions

View File

@ -7,12 +7,18 @@
"paths": ["/_shutdown", "/_cluster/nodes/_shutdown", "/_cluster/nodes/{nodeId}/_shutdown"],
"parts": {
"nodeId": {
"type" : "list",
"description" : "A comma-separated list of nodes to limit the returned information"
}
},
"params": {
"delay": {
"type" : "time",
"description" : "Set the delay for the operation (default: 1s)"
},
"exit": {
"type" : "boolean",
"description" : "Exit the JVM as well (default: true)"
}
}
},