From 68d3beb8c381a1f91e4a113d6f7c547d4b5a4b5c Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Fri, 21 Jun 2013 16:57:41 +0200 Subject: [PATCH] Improved formatting of endpoint in `indices.stats` --- rest-api-spec/api/indices.stats.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/rest-api-spec/api/indices.stats.json b/rest-api-spec/api/indices.stats.json index 9ee3829cf9a..a6e2f57cced 100644 --- a/rest-api-spec/api/indices.stats.json +++ b/rest-api-spec/api/indices.stats.json @@ -4,7 +4,19 @@ "methods": ["GET"], "url": { "path": "/_stats", - "paths": ["/_stats", "/{index}/_stats", "_stats/{metric_family}", "/{index}/_stats/{metric_family}", "/_stats/indexing", "/{index}/_stats/indexing", "/_stats/indexing/{indexing_types}", "/_stats/search/{search_groups}", "/{index}/_stats/search/{search_groups}", "/_stats/fielddata/{fields}", "/{index}/_stats/fielddata/{fields}"], + "paths": [ + "/_stats", + "/{index}/_stats", + "_stats/{metric_family}", + "/{index}/_stats/{metric_family}", + "/_stats/indexing", + "/{index}/_stats/indexing", + "/_stats/indexing/{indexing_types}", + "/_stats/search/{search_groups}", + "/{index}/_stats/search/{search_groups}", + "/_stats/fielddata/{fields}", + "/{index}/_stats/fielddata/{fields}" + ], "parts": { "fields": { "type" : "list",