protobuf-platform 1.0.239 → 1.0.241

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/log/log.proto CHANGED
@@ -8,3 +8,20 @@ service Log {
8
8
 
9
9
  message PingRequest { string ping = 1; }
10
10
  message PongResponse { string pong = 1; }
11
+ message PaginationRequest { int32 limit = 1; int32 offset = 2; optional LogSearchRequest log_search_params = 3; }
12
+ message LogSearchRequest {
13
+ optional string service_name = 1;
14
+ optional string type = 2;
15
+ }
16
+ message LogItem {
17
+ string hash = 1;
18
+ string type = 2;
19
+ string service = 3;
20
+ string message = 4;
21
+ string created = 5;
22
+ }
23
+ message LogItemsResponse {
24
+ repeated LogItem items = 1;
25
+ optional int32 total_pages = 2;
26
+ optional int32 total_items = 3;
27
+ }