updated the API

This commit is contained in:
Spencer Alger
2014-01-17 09:02:00 -07:00
parent be52173205
commit e4c6aab4ef
6 changed files with 874 additions and 907 deletions

View File

@ -1,5 +1,5 @@
module.exports = {
'cluster.nodeHotThreads': [
'nodes.hotThreads': [
'/_cluster/nodes/hotthreads',
'/_cluster/nodes/hot_threads',
'/_nodes/hot_threads',
@ -7,7 +7,7 @@ module.exports = {
'/_cluster/nodes/{node_id}/hot_threads',
'/_nodes/{node_id}/hot_threads'
],
'cluster.nodeInfo': [
'nodes.info': [
'/_cluster/nodes',
'/_nodes/settings',
'/_nodes/os',
@ -29,10 +29,10 @@ module.exports = {
'/_nodes/{node_id}/http',
'/_nodes/{node_id}/plugin'
],
'cluster.nodeShutdown': [
'nodes.shutdown': [
'/_cluster/nodes/_shutdown'
],
'cluster.nodeStats': [
'nodes.stats': [
'/_cluster/nodes/stats',
'/_nodes/stats/{metric_family}',
'/_nodes/stats/indices/{metric}/{fields}',
@ -94,5 +94,9 @@ module.exports = {
],
'cluster.createSnapshot': [
'/_snapshot/{repository}/{snapshot}/_create'
],
'snapshot.create': [
'/_snapshot/{repository}/{snapshot}',
'/_snapshot/{repository}/{snapshot}/_create'
]
};

View File

@ -1,5 +1,5 @@
[[api-reference<%= branchSuffix %>]]
== <%= branch === 'master' ? '' : branch + ' ' %>API Method Reference
== <%= branch === 'master' ? '' : branch + ' ' %>API
<%
_.each(actions, function (action) {
%>