diff --git a/rest-api-spec/api/indices.delete.json b/rest-api-spec/api/indices.delete.json new file mode 100644 index 00000000000..7db198e1537 --- /dev/null +++ b/rest-api-spec/api/indices.delete.json @@ -0,0 +1,28 @@ +{ + "indices.delete": { + "documentation": "This file is copied from es core just to verify that the .watches api hijacking works", + "methods": ["DELETE"], + "url": { + "path": "/{index}", + "paths": ["/{index}"], + "parts": { + "index": { + "type" : "list", + "required" : true, + "description" : "A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices" + } + }, + "params": { + "timeout": { + "type" : "time", + "description" : "Explicit operation timeout" + }, + "master_timeout": { + "type" : "time", + "description" : "Specify timeout for connection to master" + } + } + }, + "body": null + } +}