Added the API definition for deleting an index
This commit is contained in:
parent
2848c084b7
commit
8d44d42681
|
@ -1,18 +1,24 @@
|
||||||
{
|
{
|
||||||
"indices.delete": {
|
"indices.delete": {
|
||||||
"documentation": "",
|
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-index/",
|
||||||
"methods": ["DELETE"],
|
"methods": ["DELETE"],
|
||||||
"url": {
|
"url": {
|
||||||
"path": "/",
|
"path": "/",
|
||||||
"paths": ["/", "/{index}"],
|
"paths": ["/", "/{index}"],
|
||||||
"parts": {
|
"parts": {
|
||||||
"index": {
|
"index": {
|
||||||
|
"type" : "list",
|
||||||
|
"description" : "A comma-separated list of indices to delete; use `_all` or empty string to delete all indices"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"index": {
|
"index": {
|
||||||
|
"type" : "string",
|
||||||
|
"description" : "The name of the index"
|
||||||
},
|
},
|
||||||
"timeout": {
|
"timeout": {
|
||||||
|
"type" : "time",
|
||||||
|
"description" : "Explicit operation timeout"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue