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