bilibili-API-collect/grpc_api/bilibili/app/playeronline/v1/playeronline.proto
2022-02-02 20:25:16 +08:00

33 lines
577 B
Protocol Buffer

syntax = "proto3";
package bilibili.app.playeronline.v1;
// 在线人数
service PlayerOnline {
// 获取在线人数
rpc PlayerOnline (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;
}