Skip to content

Commit 601af7d

Browse files
Update rest-api-spec main (#2977)
* Update rest-api-spec * Remove flat_settings, add include_remotes --------- Co-authored-by: pquentin <[email protected]> Co-authored-by: Quentin Pradet <[email protected]>
1 parent f781f99 commit 601af7d

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

output/schema/validation-errors.json

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

specification/_json_spec/cluster.stats.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
]
2929
},
3030
"params": {
31-
"flat_settings": {
31+
"include_remotes": {
3232
"type": "boolean",
33-
"description": "Return settings in flat format (default: false)"
33+
"description": "Include remote cluster data into the response (default: false)"
3434
},
3535
"timeout": {
3636
"type": "time",

specification/cluster/stats/ClusterStatsRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ export interface Request extends RequestBase {
3737
}
3838
query_parameters: {
3939
/**
40-
* If `true`, returns settings in flat format.
40+
* Include remote cluster data into the response
4141
* @server_default false
4242
*/
43-
flat_settings?: boolean
43+
include_remotes?: boolean
4444
/**
4545
* Period to wait for each node to respond.
4646
* If a node does not respond before its timeout expires, the response does not include its stats.

0 commit comments

Comments
 (0)