Test run of new docs
This commit is contained in:
61
docs/reference-cat-shards.asciidoc
Normal file
61
docs/reference-cat-shards.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-cat-shards]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
||||
|| You should update the script that does the generation, which can be found in: ||
|
||||
|| https://github.com/elastic/elastic-client-generator-js ||
|
||||
|| ||
|
||||
|| You can run the script with the following command: ||
|
||||
|| npm run elasticsearch -- --version <version> ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
===========================================================================================================================
|
||||
////////
|
||||
|
||||
[discrete]
|
||||
=== client.cat.shards
|
||||
|
||||
Returns information about the shards in a cluster. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
|
||||
|
||||
{ref}/cat-shards.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatShardsRequest, options?): Promise<CatShardsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatShardsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatShardsRequest extends CatCatRequestBase {
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatShardsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatShardsResponse = CatShardsShardsRecord[]
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user