update 【gRPC API】 proto files
This commit is contained in:
33
grpc_api/bilibili/app/playeronline/v1/playeronline.proto
Normal file
33
grpc_api/bilibili/app/playeronline/v1/playeronline.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user