Skip to content

Commit 64e4f8c

Browse files
Auto-generated API code (#2931)
1 parent 3af5d9f commit 64e4f8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/reference.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,7 @@ client.index({ index })
10501050
=== info
10511051
Get cluster info.
10521052
Get basic build, version, and cluster information.
1053+
::: In Serverless, this API is retained for backward compatibility only. Some response fields, such as the version number, should be ignored.
10531054

10541055
{ref}/rest-api-root.html[Endpoint documentation]
10551056
[source,ts]

src/api/api/info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import * as TB from '../typesWithBodyKey'
3939
interface That { transport: Transport }
4040

4141
/**
42-
* Get cluster info. Get basic build, version, and cluster information.
42+
* Get cluster info. Get basic build, version, and cluster information. ::: In Serverless, this API is retained for backward compatibility only. Some response fields, such as the version number, should be ignored.
4343
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.19/rest-api-root.html | Elasticsearch API documentation}
4444
*/
4545
export default async function InfoApi (this: That, params?: T.InfoRequest | TB.InfoRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.InfoResponse>

0 commit comments

Comments
 (0)