OpenSearch/rest-api-spec/api/scroll.json

30 lines
819 B
JSON

{
"scroll": {
"documentation": "http://www.elasticsearch.org/guide/reference/api/search/scroll/",
"methods": ["GET", "POST"],
"url": {
"path": "/_search/scroll",
"paths": ["/_search/scroll", "/_search/scroll/{scroll_id}"],
"parts": {
"scroll_id": {
"type" : "string",
"description" : "The scroll ID"
}
},
"params": {
"scroll": {
"type" : "duration",
"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"
}
}
},
"body": {
"description": "The scroll ID if not passed by URL or query parameter."
}
}
}