Changed the nodeID parameter to node_id

This commit is contained in:
Karel Minarik 2013-06-12 17:52:32 +02:00
parent 0b747c1a11
commit a8fe8a7bbe
4 changed files with 13 additions and 13 deletions

View File

@ -4,9 +4,9 @@
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"path": "/_cluster/nodes/hot_threads", "path": "/_cluster/nodes/hot_threads",
"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"], "paths": ["/_cluster/nodes/hotthreads", "/_cluster/nodes/hot_threads", "/_cluster/nodes/{node_id}/hotthreads", "/_cluster/nodes/{node_id}/hot_threads", "/_nodes/hotthreads", "/_nodes/hot_threads", "/_nodes/{node_id}/hotthreads", "/_nodes/{node_id}/hot_threads"],
"parts": { "parts": {
"nodeId": { "node_id": {
"type" : "list", "type" : "list",
"description" : "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes" "description" : "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
} }

View File

@ -4,9 +4,9 @@
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"path": "/_cluster/nodes", "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"], "paths": ["/_cluster/nodes", "/_cluster/nodes/{node_id}", "/_nodes", "/_nodes/{node_id}", "/_nodes/settings", "/_nodes/{node_id}/settings", "/_nodes/os", "/_nodes/{node_id}/os", "/_nodes/process", "/_nodes/{node_id}/process", "/_nodes/jvm", "/_nodes/{node_id}/jvm", "/_nodes/thread_pool", "/_nodes/{node_id}/thread_pool", "/_nodes/network", "/_nodes/{node_id}/network", "/_nodes/transport", "/_nodes/{node_id}/transport", "/_nodes/http", "/_nodes/{node_id}/http", "/_nodes/plugin", "/_nodes/{node_id}/plugin"],
"parts": { "parts": {
"nodeId": { "node_id": {
"type" : "list", "type" : "list",
"description" : "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes" "description" : "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
} }

View File

@ -4,9 +4,9 @@
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"path": "/_shutdown", "path": "/_shutdown",
"paths": ["/_shutdown", "/_cluster/nodes/_shutdown", "/_cluster/nodes/{nodeId}/_shutdown"], "paths": ["/_shutdown", "/_cluster/nodes/_shutdown", "/_cluster/nodes/{node_id}/_shutdown"],
"parts": { "parts": {
"nodeId": { "node_id": {
"type" : "list", "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" "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"
} }

View File

@ -6,17 +6,17 @@
"path": "/_cluster/nodes/stats", "path": "/_cluster/nodes/stats",
"paths": [ "paths": [
"/_cluster/nodes/stats", "/_cluster/nodes/stats",
"/_cluster/nodes/{nodeId}/stats", "/_cluster/nodes/{node_id}/stats",
"/_nodes/stats", "/_nodes/stats",
"/_nodes/{nodeId}/stats", "/_nodes/{node_id}/stats",
"/_nodes/stats/{metric_family}", "/_nodes/stats/{metric_family}",
"/_nodes/{nodeId}/stats/{metric_family}", "/_nodes/{node_id}/stats/{metric_family}",
"/_nodes/{metric_family}/stats", "/_nodes/{metric_family}/stats",
"/_nodes/{nodeId}/{metric_family}/stats", "/_nodes/{node_id}/{metric_family}/stats",
"/_nodes/stats/indices/{metric}/{fields}", "/_nodes/stats/indices/{metric}/{fields}",
"/_nodes/{nodeId}/stats/indices/{metric}/{fields}", "/_nodes/{node_id}/stats/indices/{metric}/{fields}",
"/_nodes/indices/{metric}/{fields}/stats", "/_nodes/indices/{metric}/{fields}/stats",
"/_nodes/{nodeId}/indices/{metric}/{fields}/stats" "/_nodes/{node_id}/indices/{metric}/{fields}/stats"
], ],
"parts": { "parts": {
"fields" : { "fields" : {
@ -33,7 +33,7 @@
"values" : ["docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merges", "refresh", "search", "store", "warmer"], "values" : ["docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merges", "refresh", "search", "store", "warmer"],
"description" : "Limit the information returned for `indices` family to a specific metric" "description" : "Limit the information returned for `indices` family to a specific metric"
}, },
"nodeId": { "node_id": {
"type" : "list", "type" : "list",
"description" : "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes" "description" : "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
} }