2021-02-03 00:02:04 +08:00
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
package bilibili.app.show.v1;
|
2021-02-03 00:02:04 +08:00
|
|
|
|
|
|
|
|
|
import "bilibili/app/playurl/v1.proto";
|
|
|
|
|
import "bilibili/app/card/v1.proto";
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//热门
|
2021-02-03 00:02:04 +08:00
|
|
|
|
service Popular {
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//热门列表
|
|
|
|
|
//https://app.bilibili.com/bilibili.app.show.v1.Popular/Index
|
|
|
|
|
rpc Index (PopularResultReq) returns (PopularReply);
|
2021-02-03 00:02:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//热门列表-请求
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message PopularResultReq {
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//排位索引id,为上此请求末尾项的idx
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int64 idx = 1;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//登录标识
|
|
|
|
|
//1:未登陆用户第一页 2:登陆用户第一页
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 loginEvent = 2;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//清晰度
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 qn = 3;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//视频流版本
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 fnver = 4;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//视频流功能
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 fnval = 5;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//是否强制使用域名
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 forceHost = 6;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//是否4K
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 fourk = 7;
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
sfixed32 spmid = 8;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//上此请求末尾项的param
|
2021-02-03 00:02:04 +08:00
|
|
|
|
sfixed32 lastParam = 9;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//上此请求的ver
|
2021-02-03 00:02:04 +08:00
|
|
|
|
sfixed32 ver = 10;
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
int64 entranceId = 11;
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
sfixed32 locationIds = 12;
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
int32 sourceId = 13;
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
int32 flush = 14;
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
bilibili.app.playurl.v1.PlayerArgs playerArgs = 15;
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//热门列表-回复
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message PopularReply {
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//卡片列表
|
2021-02-03 00:02:04 +08:00
|
|
|
|
repeated bilibili.app.card.v1.Card items = 1;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//配置信息
|
2021-02-03 00:02:04 +08:00
|
|
|
|
Config config = 2;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//版本?
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string ver = 3;
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//气泡信息
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message Bubble {
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//文案
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string bubbleContent = 1;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//版本
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 version = 2;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//起始时间
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int64 stime = 3;
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//配置信息
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message Config {
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//标题
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string itemTitle = 1;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//底部文案
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string bottomText = 2;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//底部图片url
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string bottomTextCover = 3;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//底部跳转页url
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string bottomTextUrl = 4;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//顶部按钮信息列表
|
2021-02-03 00:02:04 +08:00
|
|
|
|
repeated EntranceShow topItems = 5;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//头图url
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string headImage = 6;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//当前页按钮信息
|
2021-02-03 00:02:04 +08:00
|
|
|
|
repeated EntranceShow pageItems = 7;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//?
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 hit = 8;
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//按钮信息
|
2021-02-03 00:02:04 +08:00
|
|
|
|
message EntranceShow {
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//按钮图标url
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string icon = 1;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//按钮名
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string title = 2;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//入口模块id
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string moduleId = 3;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//跳转uri
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string uri = 4;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//气泡信息
|
2021-02-03 00:02:04 +08:00
|
|
|
|
Bubble bubble = 5;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//入口id
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int64 entranceId = 6;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//头图url
|
2021-02-03 00:02:04 +08:00
|
|
|
|
string topPhoto = 7;
|
|
|
|
|
|
2021-02-05 18:32:00 +08:00
|
|
|
|
//入口类型?
|
2021-02-03 00:02:04 +08:00
|
|
|
|
int32 entranceType = 8;
|
|
|
|
|
}
|