✨ Filter grpc endpoints with user
This commit is contained in:
@@ -25,6 +25,7 @@ message AttachmentInfo {
|
||||
message GetAttachmentRequest {
|
||||
optional uint64 id = 1;
|
||||
optional string rid = 2;
|
||||
optional uint64 user_id = 3;
|
||||
}
|
||||
|
||||
message GetAttachmentResponse {
|
||||
@@ -34,6 +35,7 @@ message GetAttachmentResponse {
|
||||
message ListAttachmentRequest {
|
||||
repeated uint64 id = 1;
|
||||
repeated string rid = 2;
|
||||
optional uint64 user_id = 3;
|
||||
}
|
||||
|
||||
message ListAttachmentResponse {
|
||||
@@ -44,6 +46,7 @@ message UpdateVisibilityRequest {
|
||||
repeated uint64 id = 1;
|
||||
repeated string rid = 2;
|
||||
bool is_indexable = 3;
|
||||
optional uint64 user_id = 4;
|
||||
}
|
||||
|
||||
message UpdateVisibilityResponse {
|
||||
@@ -53,8 +56,9 @@ message UpdateVisibilityResponse {
|
||||
message DeleteAttachmentRequest {
|
||||
repeated uint64 id = 1;
|
||||
repeated string rid = 2;
|
||||
optional uint64 user_id = 3;
|
||||
}
|
||||
|
||||
message DeleteAttachmentResponse {
|
||||
int32 count = 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user