Added the API definition for deleting a warmer

This commit is contained in:
Karel Minarik 2013-05-27 22:23:26 +02:00
parent c274a36d34
commit dfaaaad9d3
1 changed files with 8 additions and 6 deletions

View File

@ -1,23 +1,25 @@
{
"indices.warmer.delete": {
"documentation": "",
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-warmers/",
"methods": ["DELETE"],
"url": {
"path": "/{index}/_warmer",
"paths": ["/{index}/_warmer", "/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"],
"parts": {
"index": {
"type" : "list",
"description" : "A comma-separated list of index names to register warmer for; use `_all` or empty string to perform the operation on all indices"
},
"name": {
"name" : {
"type" : "string",
"description" : "The name of the warmer (supports wildcards); leave empty to delete all warmers"
},
"type": {
"type" : "list",
"description" : "A comma-separated list of document types to register warmer for; use `_all` or empty string to perform the operation on all types"
}
},
"params": {
"index": {
},
"name": {
}
}
},
"body": null