Added the API definition for getting a warmer

This commit is contained in:
Karel Minarik 2013-05-27 22:25:08 +02:00
parent dfaaaad9d3
commit 15cd213da4
1 changed files with 7 additions and 5 deletions

View File

@ -1,23 +1,25 @@
{ {
"indices.warmer.get": { "indices.warmer.get": {
"documentation": "", "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-warmers/",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"path": "/{index}/_warmer", "path": "/{index}/_warmer",
"paths": ["/{index}/_warmer", "/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"], "paths": ["/{index}/_warmer", "/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"],
"parts": { "parts": {
"index": { "index": {
"type" : "list",
"description" : "A comma-separated list of index names to restrict the operation; 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 get all warmers"
}, },
"type": { "type": {
"type" : "list",
"description" : "A comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types"
} }
}, },
"params": { "params": {
"index": {
},
"name": {
}
} }
}, },
"body": null "body": null