limit sending scrollId as the body to 5.3+
This commit is contained in:
@ -2,14 +2,8 @@ module.exports = [
|
|||||||
{
|
{
|
||||||
version: '*',
|
version: '*',
|
||||||
paramAsBody: {
|
paramAsBody: {
|
||||||
scroll: {
|
scroll: 'scrollId',
|
||||||
param: 'scrollId',
|
clearScroll: 'scrollId',
|
||||||
body: 'scroll_id'
|
|
||||||
},
|
|
||||||
clearScroll: {
|
|
||||||
param: 'scrollId',
|
|
||||||
body: 'scroll_id'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -259,5 +253,18 @@ function (spec) {
|
|||||||
examples: {
|
examples: {
|
||||||
scroll: 'scroll_5.0+.asciidoc'
|
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