mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 14:37:34 +00:00
proto: update response to return metas with user
This commit is contained in:
@@ -269,3 +269,21 @@ enum UsersByMetadataSorting {
|
||||
USERS_BY_METADATA_SORT_BY_NICK_NAME = 10;
|
||||
USERS_BY_METADATA_SORT_BY_UNSPECIFIED = 11;
|
||||
}
|
||||
|
||||
message UserByMetadata {
|
||||
User user = 1;
|
||||
string key = 2 [
|
||||
(validate.rules).string = {max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"key\""
|
||||
}
|
||||
];
|
||||
bytes value = 3 [
|
||||
(validate.rules).bytes = {max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"bXkgdmFsdWU=\""
|
||||
description: "A base64 encoded value"
|
||||
}
|
||||
];
|
||||
|
||||
}
|
@@ -1989,7 +1989,7 @@ message ListUsersByMetadataRequest {
|
||||
}
|
||||
|
||||
message ListUsersByMetadataResponse {
|
||||
repeated User users = 1;
|
||||
repeated UserByMetadata users = 1;
|
||||
|
||||
// Contains the total number of apps matching the query and the applied limit.
|
||||
zitadel.filter.v2.PaginationResponse pagination = 2;
|
||||
|
Reference in New Issue
Block a user