API generation

This commit is contained in:
delvedor
2021-07-19 16:44:39 +02:00
parent 17c744ed80
commit ff98e6310c
4 changed files with 133 additions and 4 deletions

View File

@ -4393,7 +4393,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`
@ -8111,6 +8111,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
@ -9520,7 +9558,7 @@ link:{ref}/security-api-enable-user.html[Documentation] +
----
client.security.enrollKibana()
----
link:{ref}/security-api-enroll-kibana.html[Documentation] +
link:{ref}/security-api-kibana-enrollment.html[Documentation] +
[discrete]