API generation

This commit is contained in:
delvedor
2020-12-09 11:39:40 +01:00
parent 1398086f76
commit 9fea1aedc0
6 changed files with 115 additions and 5 deletions

View File

@ -4711,6 +4711,23 @@ _Default:_ `closed`
|===
[discrete]
=== indices.promoteDataStream
[source,ts]
----
client.indices.promoteDataStream({
name: string
})
----
link:{ref}/data-streams.html[Documentation] +
[cols=2*]
|===
|`name`
|`string` - The name of the data stream
|===
[discrete]
=== indices.putAlias
@ -8245,7 +8262,7 @@ client.rollup.rollup({
body: object
})
----
link:{ref}/xpack-rollup.html[Documentation] +
link:{ref}/rollup-api.html[Documentation] +
[cols=2*]
|===
|`index`
@ -9857,7 +9874,7 @@ link:{ref}/security-api-ssl.html[Documentation] +
[discrete]
=== tasks.cancel
*Stability:* experimental
[source,ts]
----
client.tasks.cancel({
@ -9890,7 +9907,7 @@ link:{ref}/tasks.html[Documentation] +
[discrete]
=== tasks.get
*Stability:* experimental
[source,ts]
----
client.tasks.get({
@ -9915,7 +9932,7 @@ link:{ref}/tasks.html[Documentation] +
[discrete]
=== tasks.list
*Stability:* experimental
[source,ts]
----
client.tasks.list({
@ -10653,6 +10670,23 @@ link:{ref}/watcher-api-put-watch.html[Documentation] +
|===
[discrete]
=== watcher.queryWatches
[source,ts]
----
client.watcher.queryWatches({
body: object
})
----
link:{ref}/watcher-api-query-watches.html[Documentation] +
[cols=2*]
|===
|`body`
|`object` - From, size, query, sort and search_after
|===
[discrete]
=== watcher.start