Added the API definition for deleting a single alias

This commit is contained in:
Karel Minarik 2013-05-27 12:10:25 +02:00
parent 4bfe7bc797
commit 9aa12c0c72
1 changed files with 13 additions and 1 deletions

View File

@ -1,22 +1,34 @@
{ {
"indices.alias.delete": { "indices.alias.delete": {
"documentation": "", "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases/",
"methods": ["DELETE"], "methods": ["DELETE"],
"url": { "url": {
"path": "/{index}/_alias/{name}", "path": "/{index}/_alias/{name}",
"paths": ["/{index}/_alias/{name}"], "paths": ["/{index}/_alias/{name}"],
"parts": { "parts": {
"index": { "index": {
"type" : "string",
"required" : true,
"description" : "The name of the index with an alias"
}, },
"name": { "name": {
"type" : "string",
"required" : true,
"description" : "The name of the alias to be deleted"
} }
}, },
"params": { "params": {
"index": { "index": {
"type" : "string",
"description" : "The name of the index to be aliased"
}, },
"name": { "name": {
"type" : "string",
"description" : "The name of the alias"
}, },
"timeout": { "timeout": {
"type" : "time",
"description" : "Explicit timestamp for the document"
} }
} }
}, },