API generation
This commit is contained in:
@ -1470,10 +1470,10 @@ link:{ref}/cat-snapshots.html[Documentation] +
|
||||
----
|
||||
client.cat.tasks({
|
||||
format: string,
|
||||
node_id: string | string[],
|
||||
nodes: string | string[],
|
||||
actions: string | string[],
|
||||
detailed: boolean,
|
||||
parent_task: number,
|
||||
parent_task_id: string,
|
||||
h: string | string[],
|
||||
help: boolean,
|
||||
s: string | string[],
|
||||
@ -1487,7 +1487,7 @@ link:{ref}/tasks.html[Documentation] +
|
||||
|`format`
|
||||
|`string` - a short version of the Accept header, e.g. json, yaml
|
||||
|
||||
|`node_id` or `nodeId`
|
||||
|`nodes`
|
||||
|`string \| string[]` - A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
|
||||
|
||||
|`actions`
|
||||
@ -1496,8 +1496,8 @@ link:{ref}/tasks.html[Documentation] +
|
||||
|`detailed`
|
||||
|`boolean` - Return detailed task information (default: false)
|
||||
|
||||
|`parent_task` or `parentTask`
|
||||
|`number` - Return tasks with specified parent task id. Set to -1 to return all.
|
||||
|`parent_task_id` or `parentTaskId`
|
||||
|`string` - Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all.
|
||||
|
||||
|`h`
|
||||
|`string \| string[]` - Comma-separated list of column names to display
|
||||
@ -2957,7 +2957,7 @@ link:{ref}/enrich-stats-api.html[Documentation] +
|
||||
|
||||
[discrete]
|
||||
=== eql.delete
|
||||
*Stability:* beta
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
client.eql.delete({
|
||||
@ -2974,7 +2974,7 @@ link:{ref}/eql-search-api.html[Documentation] +
|
||||
|
||||
[discrete]
|
||||
=== eql.get
|
||||
*Stability:* beta
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
client.eql.get({
|
||||
@ -3000,7 +3000,7 @@ _Default:_ `5d`
|
||||
|
||||
[discrete]
|
||||
=== eql.search
|
||||
*Stability:* beta
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
client.eql.search({
|
||||
@ -4812,6 +4812,23 @@ _Default:_ `open`
|
||||
|
||||
|===
|
||||
|
||||
[discrete]
|
||||
=== indices.migrateToDataStream
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
client.indices.migrateToDataStream({
|
||||
name: string
|
||||
})
|
||||
----
|
||||
link:{ref}/data-streams.html[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`name`
|
||||
|`string` - The name of the alias to migrate
|
||||
|
||||
|===
|
||||
|
||||
[discrete]
|
||||
=== indices.open
|
||||
|
||||
@ -8482,6 +8499,7 @@ link:{ref}/rollup-put-job.html[Documentation] +
|
||||
----
|
||||
client.rollup.rollup({
|
||||
index: string,
|
||||
rollup_index: string,
|
||||
body: object
|
||||
})
|
||||
----
|
||||
@ -8491,6 +8509,9 @@ link:{ref}/rollup-api.html[Documentation] +
|
||||
|`index`
|
||||
|`string` - The index to roll up
|
||||
|
||||
|`rollup_index` or `rollupIndex`
|
||||
|`string` - The name of the rollup index to create
|
||||
|
||||
|`body`
|
||||
|`object` - The rollup configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user