Separated indices.aliases into indices.update_aliases and indices.get_aliases
This commit is contained in:
parent
9da2c92388
commit
f248bc043f
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"indices.get_aliases": {
|
||||
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases/",
|
||||
"methods": ["GET"],
|
||||
"url": {
|
||||
"path": "/_aliases",
|
||||
"paths": ["/_aliases", "/{index}/_aliases"],
|
||||
"parts": {
|
||||
"index": {
|
||||
"type" : "list",
|
||||
"description" : "A comma-separated list of index names to filter aliases"
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"timeout": {
|
||||
"type" : "time",
|
||||
"description" : "Explicit timestamp for the document"
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": null
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"indices.aliases": {
|
||||
"indices.update_aliases": {
|
||||
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases/",
|
||||
"methods": ["GET", "POST"],
|
||||
"methods": ["POST"],
|
||||
"url": {
|
||||
"path": "/_aliases",
|
||||
"paths": ["/_aliases", "/{index}/_aliases"],
|
||||
|
@ -14,7 +14,7 @@
|
|||
"params": {
|
||||
"timeout": {
|
||||
"type" : "time",
|
||||
"description" : "Explicit timestamp for the document"
|
||||
"description" : "Request timeout"
|
||||
}
|
||||
}
|
||||
},
|
Loading…
Reference in New Issue