mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
Separated indices.aliases into indices.update_aliases and indices.get_aliases
This commit is contained in:
parent
9da2c92388
commit
f248bc043f
23
rest-api-spec/api/indices.get_aliases.json
Normal file
23
rest-api-spec/api/indices.get_aliases.json
Normal file
@ -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…
x
Reference in New Issue
Block a user