From 988a38297e721b2734bda8d63670ef604f05c3be Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Mon, 27 May 2013 21:46:23 +0200 Subject: [PATCH] Added the API definition for `{index}/_status` --- rest-api-spec/api/indices.status.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/rest-api-spec/api/indices.status.json b/rest-api-spec/api/indices.status.json index 5df010cf9c6..bca394511a1 100644 --- a/rest-api-spec/api/indices.status.json +++ b/rest-api-spec/api/indices.status.json @@ -7,18 +7,27 @@ "paths": ["/_status", "/{index}/_status"], "parts": { "index": { + "type" : "list", + "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: ?" }, "recovery": { + "type" : "boolean", + "description" : "Return information about shard recovery" }, "snapshot": { + "type" : "boolean", + "description" : "TODO: ?" } } },