API generation

This commit is contained in:
delvedor
2020-03-20 13:33:56 +01:00
parent 7f19628907
commit 87579e4ca9
7 changed files with 329 additions and 0 deletions

View File

@ -2445,6 +2445,26 @@ link:{ref}/indices-create-index.html[Documentation] +
|===
=== indices.createDataStream
*Stability:* experimental
[source,ts]
----
client.indices.createDataStream({
name: string,
body: object
})
----
link:{ref}/data-streams.html[Documentation] +
[cols=2*]
|===
|`name`
|`string` - The name of the data stream
|`body`
|`object` - The data stream definition
|===
=== indices.delete
[source,ts]
@ -2510,6 +2530,22 @@ link:{ref}/indices-aliases.html[Documentation] +
|===
=== indices.deleteDataStream
*Stability:* experimental
[source,ts]
----
client.indices.deleteDataStream({
name: string
})
----
link:{ref}/data-streams.html[Documentation] +
[cols=2*]
|===
|`name`
|`string` - The name of the data stream
|===
=== indices.deleteTemplate
[source,ts]
@ -2837,6 +2873,22 @@ _Default:_ `all`
|===
=== indices.getDataStreams
*Stability:* experimental
[source,ts]
----
client.indices.getDataStreams({
name: string | string[]
})
----
link:{ref}/data-streams.html[Documentation] +
[cols=2*]
|===
|`name`
|`string \| string[]` - The comma separated names of data streams
|===
=== indices.getFieldMapping
[source,ts]