API generation

This commit is contained in:
delvedor
2021-02-11 08:26:02 +01:00
parent 88b787bf38
commit 252bab6476
3 changed files with 8 additions and 2 deletions

View File

@ -9042,7 +9042,8 @@ link:{ref}/searchable-snapshots-apis.html[Documentation] +
[source,ts]
----
client.searchableSnapshots.stats({
index: string | string[]
index: string | string[],
level: 'cluster' | 'indices' | 'shards'
})
----
link:{ref}/searchable-snapshots-apis.html[Documentation] +
@ -9051,6 +9052,10 @@ link:{ref}/searchable-snapshots-apis.html[Documentation] +
|`index`
|`string \| string[]` - A comma-separated list of index names
|`level`
|`'cluster' \| 'indices' \| 'shards'` - Return stats aggregated at cluster, index or shard level +
_Default:_ `indices`
|===
[discrete]