api.proto 547 B

123456789101112131415161718192021222324252627282930313233
  1. syntax = "proto3";
  2. package community.reply.feed.v1;
  3. option go_package = "v1";
  4. service ReplyFeed {
  5. rpc HotReply (HotReplyReq) returns (HotReplyRes);
  6. rpc Reply (ReplyReq) returns (ReplyRes);
  7. }
  8. message HotReplyReq {
  9. int64 mid = 1;
  10. int64 oid = 2;
  11. int32 tp = 3;
  12. int32 pn = 4;
  13. int32 ps = 5;
  14. }
  15. message HotReplyRes {
  16. string name = 1;
  17. repeated int64 rpIDs = 2[packed=true];
  18. int32 count = 3;
  19. }
  20. message ReplyReq {
  21. int64 mid = 1;
  22. int32 pn = 2;
  23. int32 ps = 3;
  24. }
  25. message ReplyRes {
  26. string name = 1;
  27. }