mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-16 19:42:26 +01:00
27 lines
525 B
Protocol Buffer
27 lines
525 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "htwkalender/common/modules";
|
|
|
|
service FeedService {
|
|
rpc GetFeed(GetFeedRequest) returns (GetFeedResponse) {}
|
|
}
|
|
|
|
message Feed {
|
|
string id = 1;
|
|
string modules = 2;
|
|
string retrieved = 3;
|
|
string created = 4;
|
|
string updated = 5;
|
|
bool deleted = 6;
|
|
string type = 7; // "prof" or "student"
|
|
string user = 8; // User ID relation
|
|
string user_email = 9; // User Email for filtering
|
|
}
|
|
|
|
message GetFeedRequest {
|
|
string id = 1;
|
|
}
|
|
|
|
message GetFeedResponse {
|
|
Feed feed = 1;
|
|
} |