mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-08 04:39:13 +02:00
feat:#36 updated feed service with more protobuf endpoints
This commit is contained in:
23
services/protobuf/feeds.proto
Normal file
23
services/protobuf/feeds.proto
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
|
||||
message GetFeedRequest {
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message GetFeedResponse {
|
||||
Feed feed = 1;
|
||||
}
|
Reference in New Issue
Block a user