limit sending scrollId as the body to 5.3+
This commit is contained in:
@ -2,14 +2,8 @@ module.exports = [
|
||||
{
|
||||
version: '*',
|
||||
paramAsBody: {
|
||||
scroll: {
|
||||
param: 'scrollId',
|
||||
body: 'scroll_id'
|
||||
},
|
||||
clearScroll: {
|
||||
param: 'scrollId',
|
||||
body: 'scroll_id'
|
||||
}
|
||||
scroll: 'scrollId',
|
||||
clearScroll: 'scrollId',
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -259,5 +253,18 @@ function (spec) {
|
||||
examples: {
|
||||
scroll: 'scroll_5.0+.asciidoc'
|
||||
}
|
||||
},
|
||||
{
|
||||
version: '>=5.3',
|
||||
paramAsBody: {
|
||||
scroll: {
|
||||
param: 'scrollId',
|
||||
body: 'scroll_id'
|
||||
},
|
||||
clearScroll: {
|
||||
param: 'scrollId',
|
||||
body: 'scroll_id'
|
||||
}
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user