Skip to content

Commit 929efea

Browse files
Update rest-api-spec main (#4844)
* Update rest-api-spec * Reflect rest-api-spec changes --------- Co-authored-by: pquentin <[email protected]> Co-authored-by: Quentin Pradet <[email protected]>
1 parent c3e323a commit 929efea

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/cluster.state.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,13 @@
6363
},
6464
"params": {
6565
"local": {
66+
"deprecated": true,
6667
"type": "boolean",
6768
"description": "Return local information, do not retrieve the state from master node (default: false)"
6869
},
6970
"master_timeout": {
7071
"type": "time",
71-
"description": "Specify timeout for connection to master"
72+
"description": "Timeout for waiting for new cluster state in case it is blocked"
7273
},
7374
"flat_settings": {
7475
"type": "boolean",

specification/cluster/state/ClusterStateRequest.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ export interface Request extends RequestBase {
8181
ignore_unavailable?: boolean
8282
/** @server_default false */
8383
local?: boolean
84-
/** @server_default 30s */
84+
/**
85+
* Timeout for waiting for new cluster state in case it is blocked
86+
* @deprecated 9.2.0
87+
* @server_default 30s
88+
* */
8589
master_timeout?: Duration
8690
wait_for_metadata_version?: VersionNumber
8791
wait_for_timeout?: Duration

0 commit comments

Comments
 (0)