From 2cd85fa232c4cf7493030489bb14bb42337e5adb Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Mon, 27 May 2013 17:08:45 +0200 Subject: [PATCH] Added the API definition for `_settings` --- rest-api-spec/api/indices.settings.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/rest-api-spec/api/indices.settings.json b/rest-api-spec/api/indices.settings.json index c63d550645d..250d5332e81 100644 --- a/rest-api-spec/api/indices.settings.json +++ b/rest-api-spec/api/indices.settings.json @@ -1,19 +1,22 @@ { "indices.settings": { - "documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-delete-index/", + "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-get-settings/", "methods": ["GET", "PUT"], "url": { "path": "/_settings", "paths": ["/_settings", "/{index}/_settings"], "parts": { "index": { + "type" : "list", + "required" : true, + "description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices" } }, "params": { - "index": { - } } }, - "body": null + "body": { + "description" : "The index settings to be updated (when using the PUT method)" + } } }