From bb8d839de020bdf5cd89849671e64068c9860690 Mon Sep 17 00:00:00 2001 From: delvedor Date: Wed, 13 Apr 2022 18:07:40 +0000 Subject: [PATCH] Update rest-api-spec --- output/schema/schema.json | 12 ++++++++++ .../_json_spec/_internal.health.json | 24 +++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/output/schema/schema.json b/output/schema/schema.json index 44db3a3b22..cc4d607741 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -66,6 +66,18 @@ "GET" ], "path": "/_internal/_health" + }, + { + "methods": [ + "GET" + ], + "path": "/_internal/_health/{component}" + }, + { + "methods": [ + "GET" + ], + "path": "/_internal/_health/{component}/{feature}" } ], "visibility": "private" diff --git a/specification/_json_spec/_internal.health.json b/specification/_json_spec/_internal.health.json index 7b831b5f7a..3fd4f3b013 100644 --- a/specification/_json_spec/_internal.health.json +++ b/specification/_json_spec/_internal.health.json @@ -14,6 +14,30 @@ { "path": "/_internal/_health", "methods": ["GET"] + }, + { + "path": "/_internal/_health/{component}", + "methods": ["GET"], + "parts": { + "component": { + "type": "string", + "description": "A component of the cluster, as returned by the top-level health API" + } + } + }, + { + "path": "/_internal/_health/{component}/{feature}", + "methods": ["GET"], + "parts": { + "component": { + "type": "string", + "description": "A component of the cluster, as returned by the top-level health API" + }, + "feature": { + "type": "string", + "description": "A feature of a component of the cluster, as returned by the top-level health API" + } + } } ] },