Added the API definition for deleting an index

This commit is contained in:
Karel Minarik 2013-05-27 15:32:10 +02:00
parent 2848c084b7
commit 8d44d42681
1 changed files with 7 additions and 1 deletions

View File

@ -1,18 +1,24 @@
{
"indices.delete": {
"documentation": "",
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-index/",
"methods": ["DELETE"],
"url": {
"path": "/",
"paths": ["/", "/{index}"],
"parts": {
"index": {
"type" : "list",
"description" : "A comma-separated list of indices to delete; use `_all` or empty string to delete all indices"
}
},
"params": {
"index": {
"type" : "string",
"description" : "The name of the index"
},
"timeout": {
"type" : "time",
"description" : "Explicit operation timeout"
}
}
},