From 42334966c331e340c2716652a15bad8caa806dff Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Mon, 27 May 2013 16:59:39 +0200 Subject: [PATCH] Added the API definition for `_refresh` --- rest-api-spec/api/indices.refresh.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/rest-api-spec/api/indices.refresh.json b/rest-api-spec/api/indices.refresh.json index bd231783df9..84cf402c458 100644 --- a/rest-api-spec/api/indices.refresh.json +++ b/rest-api-spec/api/indices.refresh.json @@ -1,20 +1,26 @@ { "indices.refresh": { - "documentation": "", + "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh/", "methods": ["POST", "GET"], "url": { "path": "/_refresh", "paths": ["/_refresh", "/{index}/_refresh"], "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": { "ignore_indices": { - }, - "index": { + "type" : "enum", + "options" : ["none","missing"], + "default" : "none", + "description" : "When performed on multiple indices, allows to ignore `missing` ones" }, "operation_threading": { + "description" : "TODO: ?" } } },