summaryrefslogtreecommitdiff
path: root/rest-api-spec/api/indices.get_aliases.json
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api-spec/api/indices.get_aliases.json')
-rw-r--r--rest-api-spec/api/indices.get_aliases.json31
1 files changed, 31 insertions, 0 deletions
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 0000000..f79aed9
--- /dev/null
+++ b/rest-api-spec/api/indices.get_aliases.json
@@ -0,0 +1,31 @@
+{
+ "indices.get_aliases": {
+ "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-aliases.html",
+ "methods": ["GET"],
+ "url": {
+ "path": "/_aliases",
+ "paths": ["/_aliases", "/{index}/_aliases", "/{index}/_aliases/{name}", "/_aliases/{name}" ],
+ "parts": {
+ "index": {
+ "type" : "list",
+ "description" : "A comma-separated list of index names to filter aliases"
+ },
+ "name": {
+ "type" : "list",
+ "description" : "A comma-separated list of alias names to filter"
+ }
+ },
+ "params": {
+ "timeout": {
+ "type" : "time",
+ "description" : "Explicit operation timeout"
+ },
+ "local": {
+ "type": "boolean",
+ "description": "Return local information, do not retrieve the state from master node (default: false)"
+ }
+ }
+ },
+ "body": null
+ }
+}