Corrected `indices.get_warmer` API (index not required, base path just `/_warmer`)

This commit is contained in:
Karel Minarik 2013-06-20 11:04:45 +02:00
parent 7d9387452e
commit 79a5dc9ee5
1 changed files with 1 additions and 2 deletions

View File

@ -3,12 +3,11 @@
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-warmers/", "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-warmers/",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {
"path": "/{index}/_warmer", "path": "/_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", "type" : "list",
"required" : true,
"description" : "A comma-separated list of index names to restrict the operation; use `_all` or empty string to perform the operation on all indices" "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": {