page_no, page_size Responses with list now have page_no, page_size, optional total_count
27 lines
320 B
Protocol Buffer
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;
|
|
}
|