-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathscroll.json
55 lines (55 loc) · 1.63 KB
/
scroll.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"scroll": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll",
"description": "Allows to retrieve a large numbers of results from a single search request."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_search/scroll",
"methods": ["GET", "POST"]
},
{
"path": "/_search/scroll/{scroll_id}",
"methods": ["GET", "POST"],
"parts": {
"scroll_id": {
"type": "string",
"description": "The scroll ID",
"deprecated": true
}
},
"deprecated": {
"version": "7.0.0",
"description": "A scroll id can be quite large and should be specified as part of the body"
}
}
]
},
"params": {
"scroll": {
"type": "time",
"description": "Specify how long a consistent view of the index should be maintained for scrolled search"
},
"scroll_id": {
"type": "string",
"description": "The scroll ID for scrolled search"
},
"rest_total_hits_as_int": {
"type": "boolean",
"description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response",
"default": false
}
},
"body": {
"description": "The scroll ID if not passed by URL or query parameter."
}
}
}