Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -3774,7 +3774,7 @@ client.cluster.state({ ... })
- **`flat_settings` (Optional, boolean)**: Return settings in flat format (default: false)
- **`ignore_unavailable` (Optional, boolean)**: Whether specified concrete indices should be ignored when unavailable (missing or closed)
- **`local` (Optional, boolean)**: Return local information, do not retrieve the state from master node (default: false)
- **`master_timeout` (Optional, string \| -1 \| 0)**: Specify timeout for connection to master
- **`master_timeout` (Optional, string \| -1 \| 0)**: Timeout for waiting for new cluster state in case it is blocked
- **`wait_for_metadata_version` (Optional, number)**: Wait for the metadata version to be equal or greater than the specified metadata version
- **`wait_for_timeout` (Optional, string \| -1 \| 0)**: The maximum time to wait for wait_for_metadata_version before timing out

Expand Down Expand Up @@ -6211,7 +6211,7 @@ client.indices.getIndexTemplate({ ... })
### Arguments [_arguments_indices.get_index_template]

#### Request (object) [_request_indices.get_index_template]
- **`name` (Optional, string)**: List of index template names used to limit the request. Wildcard (*) expressions are supported.
- **`name` (Optional, string)**: Name of index template to retrieve. Wildcard (*) expressions are supported.
- **`local` (Optional, boolean)**: If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.
- **`flat_settings` (Optional, boolean)**: If true, returns settings in flat format.
- **`master_timeout` (Optional, string \| -1 \| 0)**: Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
Expand Down
12 changes: 6 additions & 6 deletions src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3961,7 +3961,7 @@ export interface GeoHashLocation {
geohash: GeoHash
}

export type GeoHashPrecision = number | string
export type GeoHashPrecision = integer | string

export type GeoHexCell = string

Expand All @@ -3980,7 +3980,7 @@ export type GeoShapeRelation = 'intersects' | 'disjoint' | 'within' | 'contains'

export type GeoTile = string

export type GeoTilePrecision = number
export type GeoTilePrecision = integer

export interface GetStats {
current: long
Expand Down Expand Up @@ -16428,7 +16428,7 @@ export interface ClusterStateRequest extends RequestBase {
ignore_unavailable?: boolean
/** Return local information, do not retrieve the state from master node (default: false) */
local?: boolean
/** Specify timeout for connection to master */
/** Timeout for waiting for new cluster state in case it is blocked */
master_timeout?: Duration
/** Wait for the metadata version to be equal or greater than the specified metadata version */
wait_for_metadata_version?: VersionNumber
Expand Down Expand Up @@ -20652,10 +20652,10 @@ export interface IndicesGetAliasIndexAliases {

export interface IndicesGetAliasNotFoundAliasesKeys {
error: string
status: number
status: integer
}
export type IndicesGetAliasNotFoundAliases = IndicesGetAliasNotFoundAliasesKeys
& { [property: string]: IndicesGetAliasIndexAliases | string | number }
& { [property: string]: IndicesGetAliasIndexAliases | string | integer }

export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
name: DataStreamName
Expand Down Expand Up @@ -20824,7 +20824,7 @@ export interface IndicesGetIndexTemplateIndexTemplateItem {
}

export interface IndicesGetIndexTemplateRequest extends RequestBase {
/** Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. */
/** Name of index template to retrieve. Wildcard (*) expressions are supported. */
name?: Name
/** If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node. */
local?: boolean
Expand Down