update apis and add 1.7
This commit is contained in:
6363
src/lib/apis/1_7.js
Normal file
6363
src/lib/apis/1_7.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
'1.7': require('./1_7'),
|
||||
'1.6': require('./1_6'),
|
||||
'1.5': require('./1_5'),
|
||||
'1.4': require('./1_4')
|
||||
'1.5': require('./1_5')
|
||||
};
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
module.exports = {
|
||||
'master': require('./master'),
|
||||
'1.x': require('./1_x'),
|
||||
'1.7': require('./1_7'),
|
||||
'1.6': require('./1_6'),
|
||||
'1.5': require('./1_5'),
|
||||
'1.4': require('./1_4'),
|
||||
|
||||
@ -24,6 +24,7 @@ api._namespaces = ['cat', 'cluster', 'indices', 'nodes', 'snapshot'];
|
||||
* @param {String} params.routing - Specific routing value
|
||||
* @param {Date, Number} params.timeout - Explicit operation timeout
|
||||
* @param {String} params.type - Default document type for items which don't provide one
|
||||
* @param {String, String[], Boolean} params.fields - Default comma-separated list of fields to return in the response for updates
|
||||
* @param {String} params.index - Default index for items which don't provide one
|
||||
*/
|
||||
api.bulk = ca({
|
||||
@ -47,6 +48,9 @@ api.bulk = ca({
|
||||
},
|
||||
type: {
|
||||
type: 'string'
|
||||
},
|
||||
fields: {
|
||||
type: 'list'
|
||||
}
|
||||
},
|
||||
urls: [
|
||||
@ -4440,7 +4444,6 @@ api.nodes.prototype.info = ca({
|
||||
'process',
|
||||
'jvm',
|
||||
'thread_pool',
|
||||
'network',
|
||||
'transport',
|
||||
'http',
|
||||
'plugins'
|
||||
@ -4467,7 +4470,6 @@ api.nodes.prototype.info = ca({
|
||||
'process',
|
||||
'jvm',
|
||||
'thread_pool',
|
||||
'network',
|
||||
'transport',
|
||||
'http',
|
||||
'plugins'
|
||||
@ -4545,7 +4547,6 @@ api.nodes.prototype.stats = ca({
|
||||
'http',
|
||||
'indices',
|
||||
'jvm',
|
||||
'network',
|
||||
'os',
|
||||
'process',
|
||||
'thread_pool',
|
||||
@ -4591,7 +4592,6 @@ api.nodes.prototype.stats = ca({
|
||||
'http',
|
||||
'indices',
|
||||
'jvm',
|
||||
'network',
|
||||
'os',
|
||||
'process',
|
||||
'thread_pool',
|
||||
@ -4612,7 +4612,6 @@ api.nodes.prototype.stats = ca({
|
||||
'http',
|
||||
'indices',
|
||||
'jvm',
|
||||
'network',
|
||||
'os',
|
||||
'process',
|
||||
'thread_pool',
|
||||
@ -4663,7 +4662,6 @@ api.nodes.prototype.stats = ca({
|
||||
'http',
|
||||
'indices',
|
||||
'jvm',
|
||||
'network',
|
||||
'os',
|
||||
'process',
|
||||
'thread_pool',
|
||||
|
||||
Reference in New Issue
Block a user