From 5a74b9e5e1d48206d70ab388521effc6d9b3f211 Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Wed, 8 Jan 2025 18:29:48 +0000 Subject: [PATCH] Update specification output --- output/schema/schema-serverless.json | 36 +++++++++++++++++++++------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index ff76097e59..1e4a4e34fd 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -4414,9 +4414,15 @@ "stability": "stable" } }, - "description": "Get cluster info.\nReturns basic information about the cluster.", - "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", + "description": "Get cluster info.\nGet basic build, version, and cluster information.", + "docId": "api-root", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/rest-api-root.html", "name": "info", + "privileges": { + "cluster": [ + "monitor" + ] + }, "request": { "name": "Request", "namespace": "_global.info" @@ -25020,7 +25026,7 @@ "body": { "kind": "no_body" }, - "description": "Get cluster info.\nReturns basic information about the cluster.", + "description": "Get cluster info.\nGet basic build, version, and cluster information.", "inherits": { "type": { "name": "RequestBase", @@ -25034,13 +25040,14 @@ }, "path": [], "query": [], - "specLocation": "_global/info/RootNodeInfoRequest.ts#L22-L29" + "specLocation": "_global/info/RootNodeInfoRequest.ts#L22-L31" }, { "body": { "kind": "properties", "properties": [ { + "description": "The responding cluster's name.", "name": "cluster_name", "required": true, "type": { @@ -25063,6 +25070,7 @@ } }, { + "description": "The responding node's name.", "name": "name", "required": true, "type": { @@ -25085,6 +25093,7 @@ } }, { + "description": "The running version of Elasticsearch.", "name": "version", "required": true, "type": { @@ -25102,7 +25111,7 @@ "name": "Response", "namespace": "_global.info" }, - "specLocation": "_global/info/RootNodeInfoResponse.ts#L23-L31" + "specLocation": "_global/info/RootNodeInfoResponse.ts#L23-L40" }, { "attachedBehaviors": [ @@ -76511,7 +76520,7 @@ } } ], - "specLocation": "_types/Base.ts#L76-L85" + "specLocation": "_types/Base.ts#L105-L114" }, { "codegenNames": [ @@ -119346,7 +119355,7 @@ } } ], - "specLocation": "_types/Base.ts#L87-L89" + "specLocation": "_types/Base.ts#L116-L118" }, { "kind": "interface", @@ -120433,7 +120442,7 @@ } } ], - "specLocation": "_types/Base.ts#L91-L94" + "specLocation": "_types/Base.ts#L120-L123" }, { "kind": "interface", @@ -121580,6 +121589,7 @@ }, "properties": [ { + "description": "The Elasticsearch Git commit's date.", "name": "build_date", "required": true, "type": { @@ -121591,6 +121601,7 @@ } }, { + "description": "The build flavor. For example, `default`.", "name": "build_flavor", "required": true, "type": { @@ -121602,6 +121613,7 @@ } }, { + "description": "The Elasticsearch Git commit's SHA hash.", "name": "build_hash", "required": true, "type": { @@ -121613,6 +121625,7 @@ } }, { + "description": "Indicates whether the Elasticsearch build was a snapshot.", "name": "build_snapshot", "required": true, "type": { @@ -121624,6 +121637,7 @@ } }, { + "description": "The build type that corresponds to how Elasticsearch was installed.\nFor example, `docker`, `rpm`, or `tar`.", "name": "build_type", "required": true, "type": { @@ -121635,6 +121649,7 @@ } }, { + "description": "The version number of Elasticsearch's underlying Lucene software.", "name": "lucene_version", "required": true, "type": { @@ -121646,6 +121661,7 @@ } }, { + "description": "The minimum index version with which the responding node can read from disk.", "name": "minimum_index_compatibility_version", "required": true, "type": { @@ -121657,6 +121673,7 @@ } }, { + "description": "The minimum node version with which the responding node can communicate.\nAlso the minimum version from which you can perform a rolling upgrade.", "name": "minimum_wire_compatibility_version", "required": true, "type": { @@ -121668,6 +121685,7 @@ } }, { + "description": "The Elasticsearch version number.", "name": "number", "required": true, "type": { @@ -121679,7 +121697,7 @@ } } ], - "specLocation": "_types/Base.ts#L54-L64" + "specLocation": "_types/Base.ts#L54-L93" }, { "kind": "interface",