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

34 lines
974 B
JSON
Raw Normal View History

2013-06-04 10:33:24 -04:00
{
2013-06-07 12:26:46 -04:00
"scroll": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-request-scroll.html",
2013-06-04 10:33:24 -04:00
"methods": ["GET", "POST"],
"url": {
"path": "/_search/scroll",
"paths": ["/_search/scroll", "/_search/scroll/{scroll_id}"],
"parts": {
"scroll_id": {
"type" : "string",
"description" : "The scroll ID"
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
2013-06-04 10:33:24 -04:00
"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."
}
}
}