From aacb51bae7203838a2b5fcb7c7e877eb12c343f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Mon, 6 Jan 2014 17:25:15 +0100 Subject: [PATCH] [SPEC] Bringing back the specs for _aliases --- rest-api-spec/api/indices.get_aliases.json | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 rest-api-spec/api/indices.get_aliases.json diff --git a/rest-api-spec/api/indices.get_aliases.json b/rest-api-spec/api/indices.get_aliases.json new file mode 100644 index 00000000000..e61dffe421b --- /dev/null +++ b/rest-api-spec/api/indices.get_aliases.json @@ -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 operation timeout" + } + } + }, + "body": null + } +}