API generation

This commit is contained in:
delvedor
2021-07-19 16:45:12 +02:00
parent adc5c2b146
commit 743c53dfe0
4 changed files with 132 additions and 3 deletions

View File

@ -4465,7 +4465,7 @@ client.indices.fieldUsageStats({
expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all'
})
----
link:{ref}/indices-field-usage-stats.html[Documentation] +
link:{ref}/field-usage-stats.html[Documentation] +
[cols=2*]
|===
|`index`
@ -8368,6 +8368,44 @@ _Default:_ `true`
|===
[discrete]
=== nodes.clearMeteringArchive
*Stability:* experimental
[source,ts]
----
client.nodes.clearMeteringArchive({
node_id: string | string[],
max_archive_version: number
})
----
link:{ref}/clear-repositories-metering-archive-api.html[Documentation] +
[cols=2*]
|===
|`node_id` or `nodeId`
|`string \| string[]` - Comma-separated list of node IDs or names used to limit returned information.
|`max_archive_version` or `maxArchiveVersion`
|`number` - Specifies the maximum archive_version to be cleared from the archive.
|===
[discrete]
=== nodes.getMeteringInfo
*Stability:* experimental
[source,ts]
----
client.nodes.getMeteringInfo({
node_id: string | string[]
})
----
link:{ref}/get-repositories-metering-api.html[Documentation] +
[cols=2*]
|===
|`node_id` or `nodeId`
|`string \| string[]` - A comma-separated list of node IDs or names to limit the returned information.
|===
[discrete]
=== nodes.hotThreads