From 554e42f5fb1ceab4071636cc188e51b4b250845f Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Mon, 27 May 2013 12:59:26 +0200 Subject: [PATCH] Added the API definition for `_aliases` --- rest-api-spec/api/indices.alias.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rest-api-spec/api/indices.alias.json b/rest-api-spec/api/indices.alias.json index b9f73ffc406..d8c166f2a2b 100644 --- a/rest-api-spec/api/indices.alias.json +++ b/rest-api-spec/api/indices.alias.json @@ -1,21 +1,29 @@ { "indices.alias": { - "documentation": "", + "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases/", "methods": ["GET", "POST"], "url": { "path": "/_aliases", "paths": ["/_aliases", "/{index}/_aliases"], "parts": { "index": { + "type" : "list", + "description" : "A comma-separated list of index names to filter aliases" } }, "params": { "index": { + "type" : "list", + "description" : "A comma-separated list of index names to filter aliases" }, "timeout": { + "type" : "time", + "description" : "Explicit timestamp for the document" } } }, - "body": null + "body": { + "description" : "The definition of `actions` to perform" + } } }