API generation
This commit is contained in:
@ -2639,7 +2639,7 @@ client.indices.flushSynced({
|
||||
expand_wildcards: 'open' | 'closed' | 'none' | 'all'
|
||||
})
|
||||
----
|
||||
link:{ref}/indices-synced-flush-api.html[Reference]
|
||||
link:{ref}/indices-synced-flush-api.html[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`index`
|
||||
@ -4256,7 +4256,6 @@ client.reindex({
|
||||
})
|
||||
----
|
||||
link:{ref}/docs-reindex.html[Documentation] +
|
||||
{jsclient}/reindex_examples.html[Code Example] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`refresh`
|
||||
@ -5166,7 +5165,6 @@ client.update({
|
||||
})
|
||||
----
|
||||
link:{ref}/docs-update.html[Documentation] +
|
||||
{jsclient}/update_examples.html[Code Example] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`id`
|
||||
@ -6348,7 +6346,7 @@ client.ml.estimateMemoryUsage({
|
||||
body: object
|
||||
})
|
||||
----
|
||||
https://www.elastic.co/guide/en/elasticsearch/reference/current/estimate-memory-usage-dfanalytics.html[Reference]
|
||||
link:{ref}/estimate-memory-usage-dfanalytics.html[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`body`
|
||||
@ -8191,7 +8189,7 @@ client.slm.deleteLifecycle({
|
||||
policy_id: string
|
||||
})
|
||||
----
|
||||
link:{ref}/slm-api-delete.html[Reference]
|
||||
link:{ref}/slm-api-delete.html[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`policy_id` or `policyId`
|
||||
@ -8207,7 +8205,7 @@ client.slm.executeLifecycle({
|
||||
policy_id: string
|
||||
})
|
||||
----
|
||||
link:{ref}/slm-api-execute.html[Reference]
|
||||
link:{ref}/slm-api-execute.html[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`policy_id` or `policyId`
|
||||
@ -8232,7 +8230,7 @@ client.slm.getLifecycle({
|
||||
policy_id: string | string[]
|
||||
})
|
||||
----
|
||||
link:{ref}/slm-api-get.html[Reference]
|
||||
link:{ref}/slm-api-get.html[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`policy_id` or `policyId`
|
||||
@ -8246,7 +8244,7 @@ link:{ref}/slm-api-get.html[Reference]
|
||||
----
|
||||
client.slm.getStats()
|
||||
----
|
||||
link:{ref}/slm-get-stats.html[Reference]
|
||||
link:{ref}/slm-get-stats.html[Documentation] +
|
||||
|
||||
|
||||
=== slm.putLifecycle
|
||||
@ -8258,7 +8256,7 @@ client.slm.putLifecycle({
|
||||
body: object
|
||||
})
|
||||
----
|
||||
link:{ref}/slm-api-put.html[Reference]
|
||||
link:{ref}/slm-api-put.html[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`policy_id` or `policyId`
|
||||
@ -8277,7 +8275,7 @@ client.sql.clearCursor({
|
||||
body: object
|
||||
})
|
||||
----
|
||||
link:Clear SQL cursor[Reference]
|
||||
link:Clear SQL cursor[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`body`
|
||||
@ -8294,7 +8292,8 @@ client.sql.query({
|
||||
body: object
|
||||
})
|
||||
----
|
||||
link:Execute SQL[Reference]
|
||||
link:Execute SQL[Documentation] +
|
||||
{jsclient}/sql_query_examples.html[Code Example] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`format`
|
||||
@ -8313,7 +8312,7 @@ client.sql.translate({
|
||||
body: object
|
||||
})
|
||||
----
|
||||
link:Translate SQL into Elasticsearch queries[Reference]
|
||||
link:Translate SQL into Elasticsearch queries[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`body`
|
||||
|
||||
Reference in New Issue
Block a user