Skip to content

Commit 53d5c7a

Browse files
Remove query parameters from security.get_user_privileges (#4869) (#4884)
They are not supported as this API only returns privileges from the current users and accepts no parameters. (cherry picked from commit d7b2276) Co-authored-by: Quentin Pradet <[email protected]>
1 parent ce5f9dc commit 53d5c7a

File tree

5 files changed

+2
-108
lines changed

5 files changed

+2
-108
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 0 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: 2 additions & 50 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 & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@
5353
],
5454
"response": []
5555
},
56-
"security.get_user_privileges": {
57-
"request": [
58-
"Request: query parameter 'application' does not exist in the json spec",
59-
"Request: query parameter 'priviledge' does not exist in the json spec",
60-
"Request: query parameter 'username' does not exist in the json spec"
61-
],
62-
"response": []
63-
},
6456
"security.grant_api_key": {
6557
"request": [
6658
"Request: missing json spec query parameter 'refresh'"

output/typescript/types.ts

Lines changed: 0 additions & 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
}

0 commit comments

Comments
 (0)