Skip to content

Commit dd64b69

Browse files
committed
Merge remote-tracking branch 'origin/main' into rest-api-spec-security-grant-api-key
2 parents 69a3f53 + d7b2276 commit dd64b69

File tree

6 files changed

+33
-115
lines changed

6 files changed

+33
-115
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 10 additions & 39 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: 16 additions & 51 deletions
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 & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,6 @@
4747
],
4848
"response": []
4949
},
50-
"security.get_user_privileges": {
51-
"request": [
52-
"Request: query parameter 'application' does not exist in the json spec",
53-
"Request: query parameter 'priviledge' does not exist in the json spec",
54-
"Request: query parameter 'username' does not exist in the json spec"
55-
],
56-
"response": []
57-
},
58-
"snapshot.delete": {
59-
"request": [
60-
"Request: missing json spec query parameter 'wait_for_completion'"
61-
],
62-
"response": []
63-
},
6450
"snapshot.repository_analyze": {
6551
"request": [
6652
"Request: query parameter 'register_operation_count' does not exist in the json spec"

output/typescript/types.ts

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

specification/security/get_user_privileges/SecurityGetUserPrivilegesRequest.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*/
1919

2020
import { RequestBase } from '@_types/Base'
21-
import { Name } from '@_types/common'
2221

2322
/**
2423
* Get user privileges.
@@ -39,11 +38,4 @@ export interface Request extends RequestBase {
3938
methods: ['GET']
4039
}
4140
]
42-
query_parameters: {
43-
/** The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications. */
44-
application?: Name
45-
/** The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application. */
46-
priviledge?: Name
47-
username?: Name | null
48-
}
4941
}

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)