Separated indices.aliases into indices.update_aliases and indices.get_aliases

This commit is contained in:
Clinton Gormley 2013-06-18 18:53:01 +02:00
parent 9da2c92388
commit f248bc043f
2 changed files with 26 additions and 3 deletions

View 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
}
}

View File

@ -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"
}
}
},