Added the API definition for deleting a single alias
This commit is contained in:
parent
4bfe7bc797
commit
9aa12c0c72
|
@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue