summaryrefslogtreecommitdiff
path: root/rest-api-spec/api/indices.update_aliases.json
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api-spec/api/indices.update_aliases.json')
-rw-r--r--rest-api-spec/api/indices.update_aliases.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/rest-api-spec/api/indices.update_aliases.json b/rest-api-spec/api/indices.update_aliases.json
new file mode 100644
index 0000000..5b375ee
--- /dev/null
+++ b/rest-api-spec/api/indices.update_aliases.json
@@ -0,0 +1,26 @@
+{
+ "indices.update_aliases": {
+ "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-aliases.html",
+ "methods": ["POST"],
+ "url": {
+ "path": "/_aliases",
+ "paths": ["/_aliases"],
+ "parts": {
+ },
+ "params": {
+ "timeout": {
+ "type" : "time",
+ "description" : "Request timeout"
+ },
+ "master_timeout": {
+ "type" : "time",
+ "description" : "Specify timeout for connection to master"
+ }
+ }
+ },
+ "body": {
+ "description" : "The definition of `actions` to perform",
+ "required" : true
+ }
+ }
+}