File tree Expand file tree Collapse file tree 4 files changed +30
-1
lines changed
CodeGeneration/ApiGenerator/RestSpecification/_Patches
Elasticsearch.Net/Api/RequestParameters Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "security.get_api_key" : {
3
+ "url" : {
4
+ "params" : {
5
+ "owner" : {
6
+ "type" : " boolean" ,
7
+ "default" : false ,
8
+ "description" : " flag to query API keys owned by the currently authenticated user"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ }
Original file line number Diff line number Diff line change @@ -186,6 +186,13 @@ public string Name
186
186
set => Q ( "name" , value ) ;
187
187
}
188
188
189
+ ///<summary>flag to query API keys owned by the currently authenticated user</summary>
190
+ public bool ? Owner
191
+ {
192
+ get => Q < bool ? > ( "owner" ) ;
193
+ set => Q ( "owner" , value ) ;
194
+ }
195
+
189
196
///<summary>realm name of the user who created this API key to be retrieved</summary>
190
197
public string RealmName
191
198
{
Original file line number Diff line number Diff line change @@ -266,7 +266,9 @@ public partial class GetApiKeyDescriptor : RequestDescriptorBase<GetApiKeyDescri
266
266
public GetApiKeyDescriptor Id ( string id ) => Qs ( "id" , id ) ;
267
267
///<summary>API key name of the API key to be retrieved</summary>
268
268
public GetApiKeyDescriptor Name ( string name ) => Qs ( "name" , name ) ;
269
- ///<summary>realm name of the user who created this API key to be retrieved</summary>
269
+ ///<summary>flag to query API keys owned by the currently authenticated user</summary>
270
+ public GetApiKeyDescriptor Owner ( bool ? owner = true ) => Qs ( "owner" , owner ) ;
271
+ ///<summary>realm name of the user who created this API key to be retrieved</summary>
270
272
public GetApiKeyDescriptor RealmName ( string realmname ) => Qs ( "realm_name" , realmname ) ;
271
273
///<summary>user name of the user who created this API key to be retrieved</summary>
272
274
public GetApiKeyDescriptor Username ( string username ) => Qs ( "username" , username ) ;
Original file line number Diff line number Diff line change @@ -468,6 +468,13 @@ public string Name
468
468
set => Q ( "name" , value ) ;
469
469
}
470
470
471
+ ///<summary>flag to query API keys owned by the currently authenticated user</summary>
472
+ public bool ? Owner
473
+ {
474
+ get => Q < bool ? > ( "owner" ) ;
475
+ set => Q ( "owner" , value ) ;
476
+ }
477
+
471
478
///<summary>realm name of the user who created this API key to be retrieved</summary>
472
479
public string RealmName
473
480
{
You can’t perform that action at this time.
0 commit comments