update 【gRPC API】 proto files
This commit is contained in:
52
grpc_api/bilibili/live/app/room/v1/room.proto
Normal file
52
grpc_api/bilibili/live/app/room/v1/room.proto
Normal file
@@ -0,0 +1,52 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package bilibili.live.app.room.v1;
|
||||
|
||||
//
|
||||
message GetStudioListReq {
|
||||
//
|
||||
int64 room_id = 1;
|
||||
}
|
||||
|
||||
//
|
||||
message GetStudioListResp {
|
||||
//
|
||||
message Pendants {
|
||||
//
|
||||
Pendant frame = 1;
|
||||
//
|
||||
Pendant badge = 2;
|
||||
}
|
||||
//
|
||||
message Pendant {
|
||||
//
|
||||
string name = 1;
|
||||
//
|
||||
int64 position = 2;
|
||||
//
|
||||
string value = 3;
|
||||
//
|
||||
string desc = 4;
|
||||
}
|
||||
//
|
||||
message StudioMaster {
|
||||
//
|
||||
int64 uid = 1;
|
||||
//
|
||||
int64 room_id = 2;
|
||||
//
|
||||
string uname = 3;
|
||||
//
|
||||
string face = 4;
|
||||
//
|
||||
Pendants pendants = 5;
|
||||
//
|
||||
string tag = 6;
|
||||
//
|
||||
int64 tag_type = 7;
|
||||
}
|
||||
//
|
||||
int64 status = 1;
|
||||
//
|
||||
repeated StudioMaster master_list = 2;
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package bilibili.live.general.interfaces.v1;
|
||||
|
||||
//
|
||||
message GetOnlineRankReq {
|
||||
//
|
||||
int64 ruid = 1;
|
||||
//
|
||||
int64 room_id = 2;
|
||||
//
|
||||
int64 page = 3;
|
||||
//
|
||||
int64 page_size = 4;
|
||||
//
|
||||
string platform = 5;
|
||||
}
|
||||
|
||||
//
|
||||
message GetOnlineRankResp {
|
||||
//
|
||||
message OnlineRankItem {
|
||||
//
|
||||
int64 uid = 1;
|
||||
//
|
||||
string uname = 2;
|
||||
//
|
||||
string face = 3;
|
||||
//
|
||||
int64 continue_watch = 4;
|
||||
//
|
||||
MedalInfo medal_info = 5;
|
||||
//
|
||||
int64 guard_level = 6;
|
||||
}
|
||||
//
|
||||
OnlineRankItem item = 1;
|
||||
//
|
||||
int64 online_num = 2;
|
||||
}
|
||||
|
||||
//
|
||||
message MedalInfo {
|
||||
//
|
||||
int64 guard_level = 1;
|
||||
//
|
||||
int64 medal_color_start = 2;
|
||||
//
|
||||
int64 medal_color_end = 3;
|
||||
//
|
||||
int64 medal_color_border = 4;
|
||||
//
|
||||
string medal_name = 5;
|
||||
//
|
||||
int64 level = 6;
|
||||
//
|
||||
int64 target_id = 7;
|
||||
//
|
||||
int64 is_light = 8;
|
||||
}
|
||||
Reference in New Issue
Block a user