Skip to content

Commit

Permalink
Update rest-api-spec main (#2977)
Browse files Browse the repository at this point in the history
* Update rest-api-spec

* Remove flat_settings, add include_remotes

---------

Co-authored-by: pquentin <42327+pquentin@users.noreply.github.com>
Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
  • Loading branch information
3 people authored Oct 2, 2024
1 parent f781f99 commit 601af7d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions specification/_json_spec/cluster.stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
]
},
"params": {
"flat_settings": {
"include_remotes": {
"type": "boolean",
"description": "Return settings in flat format (default: false)"
"description": "Include remote cluster data into the response (default: false)"
},
"timeout": {
"type": "time",
Expand Down
4 changes: 2 additions & 2 deletions specification/cluster/stats/ClusterStatsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export interface Request extends RequestBase {
}
query_parameters: {
/**
* If `true`, returns settings in flat format.
* Include remote cluster data into the response
* @server_default false
*/
flat_settings?: boolean
include_remotes?: boolean
/**
* Period to wait for each node to respond.
* If a node does not respond before its timeout expires, the response does not include its stats.
Expand Down

0 comments on commit 601af7d

Please sign in to comment.