diff --git a/rest-api-spec/api/clear_scroll.json b/rest-api-spec/api/clear_scroll.json new file mode 100644 index 00000000000..5d703fdfcfd --- /dev/null +++ b/rest-api-spec/api/clear_scroll.json @@ -0,0 +1,18 @@ +{ + "scroll": { + "documentation": "http://www.elasticsearch.org/guide/reference/api/search/scroll/", + "methods": ["DELETE"], + "url": { + "path": "/_search/scroll/{scroll_id}", + "paths": ["/_search/scroll/{scroll_id}"], + "parts": { + "scroll_id": { + "type" : "list", + "description" : "A comma-separated list of scroll IDs to clear" + } + }, + "params": {}, + }, + "body": null + } +}