API generation

This commit is contained in:
delvedor
2021-03-22 11:54:41 +01:00
parent 416b221b1e
commit e0e3267ca0
10 changed files with 230 additions and 57 deletions

View File

@ -1098,7 +1098,8 @@ client.cat.nodes({
help: boolean,
s: string | string[],
time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos',
v: boolean
v: boolean,
include_unloaded_segments: boolean
})
----
link:{ref}/cat-nodes.html[Documentation] +
@ -1136,6 +1137,9 @@ WARNING: This parameter has been deprecated.
|`v`
|`boolean` - Verbose mode. Display column headers
|`include_unloaded_segments` or `includeUnloadedSegments`
|`boolean` - If set to true segment stats will include stats for segments that are not currently loaded into memory
|===
[discrete]
@ -3264,6 +3268,33 @@ _Default:_ `OR`
|===
[discrete]
=== features.getFeatures
[source,ts]
----
client.features.getFeatures({
master_timeout: string
})
----
link:{ref}/modules-snapshots.html[Documentation] +
[cols=2*]
|===
|`master_timeout` or `masterTimeout`
|`string` - Explicit operation timeout for connection to master node
|===
[discrete]
=== features.resetFeatures
*Stability:* experimental
[source,ts]
----
client.features.resetFeatures()
----
link:{ref}/modules-snapshots.html[Documentation] +
[discrete]
=== fieldCaps
@ -5774,6 +5805,7 @@ link:{ref}/delete-pipeline-api.html[Documentation] +
----
client.ingest.getPipeline({
id: string,
summary: boolean,
master_timeout: string
})
----
@ -5783,6 +5815,9 @@ link:{ref}/get-pipeline-api.html[Documentation] +
|`id`
|`string` - Comma separated list of pipeline ids. Wildcards supported
|`summary`
|`boolean` - Return pipelines without their definitions (default: false)
|`master_timeout` or `masterTimeout`
|`string` - Explicit operation timeout for connection to master node
@ -7269,6 +7304,27 @@ link:{ref}/ml-post-data.html[Documentation] +
|===
[discrete]
=== ml.previewDataFrameAnalytics
*Stability:* beta
[source,ts]
----
client.ml.previewDataFrameAnalytics({
id: string,
body: object
})
----
link:{ref}/preview-dfanalytics.html[Documentation] +
[cols=2*]
|===
|`id`
|`string` - The ID of the data frame analytics to preview
|`body`
|`object` - The data frame analytics config to preview
|===
[discrete]
=== ml.previewDatafeed
@ -8167,7 +8223,8 @@ client.nodes.stats({
level: 'indices' | 'node' | 'shards',
types: string | string[],
timeout: string,
include_segment_file_sizes: boolean
include_segment_file_sizes: boolean,
include_unloaded_segments: boolean
})
----
link:{ref}/cluster-nodes-stats.html[Documentation] +
@ -8207,6 +8264,9 @@ _Default:_ `node`
|`include_segment_file_sizes` or `includeSegmentFileSizes`
|`boolean` - Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested)
|`include_unloaded_segments` or `includeUnloadedSegments`
|`boolean` - If set to true segment stats will include stats for segments that are not currently loaded into memory
|===
[discrete]
@ -10022,23 +10082,6 @@ link:{ref}/modules-snapshots.html[Documentation] +
|===
[discrete]
=== snapshot.getFeatures
[source,ts]
----
client.snapshot.getFeatures({
master_timeout: string
})
----
link:{ref}/modules-snapshots.html[Documentation] +
[cols=2*]
|===
|`master_timeout` or `masterTimeout`
|`string` - Explicit operation timeout for connection to master node
|===
[discrete]
=== snapshot.getRepository