update 【gRPC API】 proto files

This commit is contained in:
社会易姐QwQ
2022-01-29 23:57:17 +08:00
parent c25a8f4bf6
commit aae73c7015
13 changed files with 8077 additions and 4558 deletions

View File

@@ -0,0 +1,33 @@
syntax = "proto3";
package bilibili.app.playeronline.v1;
// 在线人数
service PlayerOnline {
// 获取在线人数
rpc GetPlayerOnline (PlayerOnlineReq) returns (PlayerOnlineReply);
}
// 获取在线人数-请求
message PlayerOnlineReq {
// 稿件 avid
int64 aid = 1;
// 视频 cid
int64 cid = 2;
//
bool play_open = 3;
}
// 获取在线人数-回复
message PlayerOnlineReply {
//
string total_text = 1;
//
int64 sec_next = 2;
//
bool bottom_show = 3;
//
bool sdm_show = 4;
//
string sdm_text = 5;
}