File tree 1 file changed +29
-0
lines changed
raystack/frontier/v1beta1
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,17 @@ service AdminService {
223
223
};
224
224
}
225
225
226
+ rpc SearchOrganizationServiceUserCredentials (SearchOrganizationServiceUserCredentialsRequest ) returns (SearchOrganizationServiceUserCredentialsResponse ) {
227
+ option (google.api.http ) = {
228
+ post : "/v1beta1/admin/organizations/{id}/serviceuser_credentials/search" ,
229
+ body : "query"
230
+ };
231
+ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation ) = {
232
+ tags : "Organization" ;
233
+ summary : "Search organization service user credentials" ;
234
+ };
235
+ }
236
+
226
237
// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
227
238
// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
228
239
rpc ExportOrganizations (ExportOrganizationsRequest ) returns (stream google .api .HttpBody ) {
@@ -1317,3 +1328,21 @@ message SearchOrganizationTokensResponse {
1317
1328
message ExportOrganizationTokensRequest {
1318
1329
string id = 1 [(validate.rules ) .string.min_len = 3 ];
1319
1330
}
1331
+
1332
+ message SearchOrganizationServiceUserCredentialsRequest {
1333
+ string id = 1 [(validate.rules ) .string.min_len = 3 ];
1334
+ RQLRequest query = 2 ;
1335
+ }
1336
+
1337
+ message SearchOrganizationServiceUserCredentialsResponse {
1338
+ message OrganizationServiceUserCredential {
1339
+ string title = 1 ;
1340
+ string serviceuser_title = 2 ;
1341
+ google.protobuf.Timestamp created_at = 3 ;
1342
+ string org_id = 4 ;
1343
+ }
1344
+
1345
+ repeated OrganizationServiceUserCredential organization_serviceuser_credentials = 1 ;
1346
+ RQLQueryPaginationResponse pagination = 2 ;
1347
+ RQLQueryGroupResponse group = 3 ;
1348
+ }
You can’t perform that action at this time.
0 commit comments