Added the API definition for `_aliases`

This commit is contained in:
Karel Minarik 2013-05-27 12:59:26 +02:00
parent bf080b9385
commit 554e42f5fb
1 changed files with 10 additions and 2 deletions

View File

@ -1,21 +1,29 @@
{ {
"indices.alias": { "indices.alias": {
"documentation": "", "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases/",
"methods": ["GET", "POST"], "methods": ["GET", "POST"],
"url": { "url": {
"path": "/_aliases", "path": "/_aliases",
"paths": ["/_aliases", "/{index}/_aliases"], "paths": ["/_aliases", "/{index}/_aliases"],
"parts": { "parts": {
"index": { "index": {
"type" : "list",
"description" : "A comma-separated list of index names to filter aliases"
} }
}, },
"params": { "params": {
"index": { "index": {
"type" : "list",
"description" : "A comma-separated list of index names to filter aliases"
}, },
"timeout": { "timeout": {
"type" : "time",
"description" : "Explicit timestamp for the document"
} }
} }
}, },
"body": null "body": {
"description" : "The definition of `actions` to perform"
}
} }
} }