update apis and add 1.7

This commit is contained in:
Spencer Alger
2015-07-09 13:40:31 -07:00
parent 389605c344
commit f407987160
10 changed files with 11112 additions and 12 deletions

6363
src/lib/apis/1_7.js Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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')
};

View File

@ -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'),

View File

@ -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',