import { Indices } from "https://deno.land/x/deno_es@v0.4.3/src/indices.ts";
Methods
create(params: IndicesCreateParams, options?: ExOptions)
stats(params: IndicesStatsParams, options?: ExOptions): Promise<StatInfo>
Returns statistics for one or more indices. For data streams, the API retrieves statistics for the stream’s backing indices.
curl -X GET "localhost:9200/my-index-000001/_stats?pretty"