Skip to content

Commit 0543299

Browse files
authored
Add wait_for_completion to snapshot.delete (#4875)
1 parent 069159f commit 0543299

File tree

5 files changed

+31
-7
lines changed

5 files changed

+31
-7
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 10 additions & 0 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: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@
6161
],
6262
"response": []
6363
},
64-
"snapshot.delete": {
65-
"request": [
66-
"Request: missing json spec query parameter 'wait_for_completion'"
67-
],
68-
"response": []
69-
},
7064
"snapshot.repository_analyze": {
7165
"request": [
7266
"Request: query parameter 'register_operation_count' does not exist in the json spec"

output/typescript/types.ts

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

specification/snapshot/delete/SnapshotDeleteRequest.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,11 @@ export interface Request extends RequestBase {
5555
* @server_default 30s
5656
*/
5757
master_timeout?: Duration
58+
/**
59+
* If `true`, the request returns a response when the matching snapshots are all deleted.
60+
* If `false`, the request returns a response as soon as the deletes are scheduled.
61+
* @server_default true
62+
*/
63+
wait_for_completion?: boolean
5864
}
5965
}

0 commit comments

Comments
 (0)