regenerated the API
This commit is contained in:
@ -2314,6 +2314,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
[horizontal]
|
[horizontal]
|
||||||
`dryRun`::
|
`dryRun`::
|
||||||
`Boolean` -- Simulate the operation only and return the resulting state
|
`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`::
|
`filterMetadata`::
|
||||||
`Boolean` -- Don't return cluster state metadata (default: false)
|
`Boolean` -- Don't return cluster state metadata (default: false)
|
||||||
`masterTimeout`::
|
`masterTimeout`::
|
||||||
|
|||||||
@ -2314,6 +2314,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
[horizontal]
|
[horizontal]
|
||||||
`dryRun`::
|
`dryRun`::
|
||||||
`Boolean` -- Simulate the operation only and return the resulting state
|
`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`::
|
`filterMetadata`::
|
||||||
`Boolean` -- Don't return cluster state metadata (default: false)
|
`Boolean` -- Don't return cluster state metadata (default: false)
|
||||||
`masterTimeout`::
|
`masterTimeout`::
|
||||||
|
|||||||
@ -76,7 +76,7 @@
|
|||||||
"url": "http://github.com/elasticsearch/elasticsearch-js.git"
|
"url": "http://github.com/elasticsearch/elasticsearch-js.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node scripts/generate --branch default && grunt test",
|
"test": "grunt test",
|
||||||
"generate": "node scripts/generate"
|
"generate": "node scripts/generate"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@ -775,6 +775,7 @@ api.cluster.prototype.putSettings = ca({
|
|||||||
*
|
*
|
||||||
* @param {Object} params - An object with parameters used to carry out this action
|
* @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.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 {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.masterTimeout - Explicit operation timeout for connection to master node
|
||||||
* @param {Date, Number} params.timeout - Explicit operation timeout
|
* @param {Date, Number} params.timeout - Explicit operation timeout
|
||||||
@ -785,6 +786,9 @@ api.cluster.prototype.reroute = ca({
|
|||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
name: 'dry_run'
|
name: 'dry_run'
|
||||||
},
|
},
|
||||||
|
explain: {
|
||||||
|
type: 'boolean'
|
||||||
|
},
|
||||||
filterMetadata: {
|
filterMetadata: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
name: 'filter_metadata'
|
name: 'filter_metadata'
|
||||||
|
|||||||
@ -775,6 +775,7 @@ api.cluster.prototype.putSettings = ca({
|
|||||||
*
|
*
|
||||||
* @param {Object} params - An object with parameters used to carry out this action
|
* @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.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 {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.masterTimeout - Explicit operation timeout for connection to master node
|
||||||
* @param {Date, Number} params.timeout - Explicit operation timeout
|
* @param {Date, Number} params.timeout - Explicit operation timeout
|
||||||
@ -785,6 +786,9 @@ api.cluster.prototype.reroute = ca({
|
|||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
name: 'dry_run'
|
name: 'dry_run'
|
||||||
},
|
},
|
||||||
|
explain: {
|
||||||
|
type: 'boolean'
|
||||||
|
},
|
||||||
filterMetadata: {
|
filterMetadata: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
name: 'filter_metadata'
|
name: 'filter_metadata'
|
||||||
|
|||||||
Reference in New Issue
Block a user