API generation
This commit is contained in:
@ -357,7 +357,7 @@ link:{ref}/cat.html[Reference]
|
||||
client.cat.indices({
|
||||
index: string | string[],
|
||||
format: string,
|
||||
bytes: 'b' | 'k' | 'm' | 'g',
|
||||
bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb',
|
||||
local: boolean,
|
||||
master_timeout: string,
|
||||
h: string | string[],
|
||||
@ -380,7 +380,7 @@ link:{ref}/cat-indices.html[Reference]
|
||||
|`string` - a short version of the Accept header, e.g. json, yaml
|
||||
|
||||
|`bytes`
|
||||
|`'b' \| 'k' \| 'm' \| 'g'` - The unit in which to display byte values
|
||||
|`'b' \| 'k' \| 'kb' \| 'm' \| 'mb' \| 'g' \| 'gb' \| 't' \| 'tb' \| 'p' \| 'pb'` - The unit in which to display byte values
|
||||
|
||||
|`local`
|
||||
|`boolean` - Return local information, do not retrieve the state from master node (default: false)
|
||||
@ -2028,6 +2028,14 @@ client.getScriptContext()
|
||||
----
|
||||
|
||||
|
||||
=== getScriptLanguages
|
||||
*Stability:* experimental
|
||||
[source,ts]
|
||||
----
|
||||
client.getScriptLanguages()
|
||||
----
|
||||
|
||||
|
||||
=== getSource
|
||||
|
||||
[source,ts]
|
||||
@ -6083,7 +6091,8 @@ link:{ref}/delete-license.html[Reference]
|
||||
[source,ts]
|
||||
----
|
||||
client.license.get({
|
||||
local: boolean
|
||||
local: boolean,
|
||||
accept_enterprise: boolean
|
||||
})
|
||||
----
|
||||
link:{ref}/get-license.html[Reference]
|
||||
@ -6092,6 +6101,11 @@ link:{ref}/get-license.html[Reference]
|
||||
|`local`
|
||||
|`boolean` - Return local information, do not retrieve the state from master node (default: false)
|
||||
|
||||
|`accept_enterprise` or `acceptEnterprise`
|
||||
|`boolean` - Supported for backwards compatibility with 7.x. If this param is used it must be set to true +
|
||||
|
||||
WARNING: This parameter has been deprecated.
|
||||
|
||||
|===
|
||||
|
||||
=== license.getBasicStatus
|
||||
@ -8394,6 +8408,15 @@ client.slm.getStats()
|
||||
link:{ref}/slm-get-stats.html[Reference]
|
||||
|
||||
|
||||
=== slm.getStatus
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
client.slm.getStatus()
|
||||
----
|
||||
link:{ref}/slm-get-status.html[Reference]
|
||||
|
||||
|
||||
=== slm.putLifecycle
|
||||
|
||||
[source,ts]
|
||||
@ -8414,6 +8437,24 @@ link:{ref}/slm-api-put.html[Reference]
|
||||
|
||||
|===
|
||||
|
||||
=== slm.start
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
client.slm.start()
|
||||
----
|
||||
link:{ref}/slm-start.html[Reference]
|
||||
|
||||
|
||||
=== slm.stop
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
client.slm.stop()
|
||||
----
|
||||
link:{ref}/slm-stop.html[Reference]
|
||||
|
||||
|
||||
=== sql.clearCursor
|
||||
|
||||
[source,ts]
|
||||
|
||||
Reference in New Issue
Block a user