regenerated the API

This commit is contained in:
Spencer Alger
2014-02-27 15:53:12 -07:00
parent d075e6c638
commit 64e5009c9b
5 changed files with 13 additions and 1 deletions

View File

@ -2314,6 +2314,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
[horizontal]
`dryRun`::
`Boolean` -- Simulate the operation only and return the resulting state
`explain`::
`Boolean` -- Return an explanation of why the commands can or cannot be executed
`filterMetadata`::
`Boolean` -- Don't return cluster state metadata (default: false)
`masterTimeout`::

View File

@ -2314,6 +2314,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
[horizontal]
`dryRun`::
`Boolean` -- Simulate the operation only and return the resulting state
`explain`::
`Boolean` -- Return an explanation of why the commands can or cannot be executed
`filterMetadata`::
`Boolean` -- Don't return cluster state metadata (default: false)
`masterTimeout`::

View File

@ -76,7 +76,7 @@
"url": "http://github.com/elasticsearch/elasticsearch-js.git"
},
"scripts": {
"test": "node scripts/generate --branch default && grunt test",
"test": "grunt test",
"generate": "node scripts/generate"
},
"engines": {

View File

@ -775,6 +775,7 @@ api.cluster.prototype.putSettings = ca({
*
* @param {Object} params - An object with parameters used to carry out this action
* @param {Boolean} params.dryRun - Simulate the operation only and return the resulting state
* @param {Boolean} params.explain - Return an explanation of why the commands can or cannot be executed
* @param {Boolean} params.filterMetadata - Don't return cluster state metadata (default: false)
* @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node
* @param {Date, Number} params.timeout - Explicit operation timeout
@ -785,6 +786,9 @@ api.cluster.prototype.reroute = ca({
type: 'boolean',
name: 'dry_run'
},
explain: {
type: 'boolean'
},
filterMetadata: {
type: 'boolean',
name: 'filter_metadata'

View File

@ -775,6 +775,7 @@ api.cluster.prototype.putSettings = ca({
*
* @param {Object} params - An object with parameters used to carry out this action
* @param {Boolean} params.dryRun - Simulate the operation only and return the resulting state
* @param {Boolean} params.explain - Return an explanation of why the commands can or cannot be executed
* @param {Boolean} params.filterMetadata - Don't return cluster state metadata (default: false)
* @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node
* @param {Date, Number} params.timeout - Explicit operation timeout
@ -785,6 +786,9 @@ api.cluster.prototype.reroute = ca({
type: 'boolean',
name: 'dry_run'
},
explain: {
type: 'boolean'
},
filterMetadata: {
type: 'boolean',
name: 'filter_metadata'