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": {
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue