proto/base/v1/msg.proto
nfel c5baf25a24
Requests with list as their response now accept
page_no, page_size
Responses with list now have
page_no, page_size, optional total_count
2025-07-16 15:53:24 +03:30

27 lines
320 B
Protocol Buffer

syntax = "proto3";
package base.v1;
message Empty {}
message StatusRes {
bool success = 1;
}
message IdRes {
int64 id = 1;
}
message IdReq {
int64 id = 1;
}
message YesNoRes {
bool yes = 1;
}
message PaginationRespSample {
uint32 page_no = 2;
uint32 page_size = 3;
optional uint32 total_count = 4;
}