更新并修改大量【proto定义】
This commit is contained in:
@@ -9,9 +9,9 @@ message Arc{
|
||||
// 稿件分P数
|
||||
int64 videos = 2;
|
||||
// 分区id
|
||||
int32 typeId = 3;
|
||||
int32 type_id = 3;
|
||||
// 二级分区名
|
||||
string typeName = 4;
|
||||
string type_name = 4;
|
||||
// 稿件类型
|
||||
// 1:原创 2:转载
|
||||
int32 copyright = 5;
|
||||
@@ -32,19 +32,19 @@ message Arc{
|
||||
int32 access = 12;
|
||||
// 属性位配置(现在无了)
|
||||
int32 attribute = 13;
|
||||
//
|
||||
// 空
|
||||
string tag = 14;
|
||||
//
|
||||
// 空
|
||||
repeated string tags = 15;
|
||||
// 稿件总时长(单位为秒)
|
||||
int64 duration = 16;
|
||||
// 参与的活动id
|
||||
int64 missionId = 17;
|
||||
int64 mission_id = 17;
|
||||
// 绑定的商单id
|
||||
int64 orderId = 18;
|
||||
int64 order_id = 18;
|
||||
// PGC稿件强制重定向url(如番剧、影视)
|
||||
string redirectUrl = 19;
|
||||
//
|
||||
string redirect_url = 19;
|
||||
// 空
|
||||
int64 forward = 20;
|
||||
// 控制标志
|
||||
Rights rights = 21;
|
||||
@@ -52,20 +52,20 @@ message Arc{
|
||||
Author author = 22;
|
||||
// 状态数
|
||||
Stat stat = 23;
|
||||
//
|
||||
string reportResult = 24;
|
||||
// 空
|
||||
string report_result = 24;
|
||||
// 投稿时发送的动态内容
|
||||
string dynamic = 25;
|
||||
// 稿件1P cid
|
||||
int64 firstCid = 26;
|
||||
int64 first_cid = 26;
|
||||
// 稿件1P 分辨率
|
||||
Dimension dimension = 27;
|
||||
// 合作组成员列表
|
||||
repeated StaffInfo staffInfo = 28;
|
||||
repeated StaffInfo staff_info = 28;
|
||||
// UGC合集id
|
||||
int64 seasonId = 29;
|
||||
int64 season_id = 29;
|
||||
// 新版属性位配置(也没用)
|
||||
int64 attributeV2 = 30;
|
||||
int64 attribute_v2 = 30;
|
||||
}
|
||||
|
||||
// UP主信息
|
||||
@@ -127,17 +127,17 @@ message Rights{
|
||||
// 是否高码率
|
||||
int32 hd5 = 6;
|
||||
// 是否禁止转载标志
|
||||
int32 noReprint = 7;
|
||||
int32 no_reprint = 7;
|
||||
// 是否允许自动播放
|
||||
int32 autoplay = 8;
|
||||
// UGC稿件需要付费
|
||||
int32 ugcPay = 9;
|
||||
int32 ugc_pay = 9;
|
||||
// 是否联合投稿
|
||||
int32 isCooperation = 10;
|
||||
int32 is_cooperation = 10;
|
||||
// 是否UGC付费预览
|
||||
int32 ugcPayPreview = 11;
|
||||
int32 ugc_pay_preview = 11;
|
||||
// 是否禁止后台播放
|
||||
int32 noBackground = 12;
|
||||
int32 no_background = 12;
|
||||
}
|
||||
|
||||
// 合作成员信息
|
||||
@@ -168,9 +168,9 @@ message Stat{
|
||||
// 分享数
|
||||
int32 share = 7;
|
||||
// 当前排名
|
||||
int32 nowRank = 8;
|
||||
int32 now_rank = 8;
|
||||
// 历史最高排名
|
||||
int32 hisRank = 9;
|
||||
int32 his_rank = 9;
|
||||
// 点赞数
|
||||
int32 like = 10;
|
||||
// 点踩数(前端不可见故恒为0)
|
||||
|
||||
@@ -8,24 +8,24 @@ import "bilibili/app/card/v1/single.proto";
|
||||
message Card {
|
||||
oneof item {
|
||||
// 小封面条目
|
||||
SmallCoverV5 smallCoverV5 = 1;
|
||||
SmallCoverV5 small_cover_v5 = 1;
|
||||
//
|
||||
LargeCoverV1 largeCoverV1 = 2;
|
||||
LargeCoverV1 large_cover_v1 = 2;
|
||||
//
|
||||
ThreeItemAllV2 threeItemAllV2 = 3;
|
||||
ThreeItemAllV2 three_item_all_v2 = 3;
|
||||
//
|
||||
ThreeItemV1 threeItemV1 = 4;
|
||||
ThreeItemV1 three_item_v1 = 4;
|
||||
//
|
||||
HotTopic hotTopic = 5;
|
||||
HotTopic hot_topic = 5;
|
||||
//
|
||||
DynamicHot dynamicHot = 6;
|
||||
DynamicHot three_item_h_v5 = 6;
|
||||
//
|
||||
MiddleCoverV3 middleCoverV3 = 7;
|
||||
MiddleCoverV3 middle_cover_v3 = 7;
|
||||
//
|
||||
LargeCoverV4 largeCoverV4 = 8;
|
||||
LargeCoverV4 large_cover_v4 = 8;
|
||||
// 热门列表顶部按钮
|
||||
PopularTopEntrance popularTopEntrance = 9;
|
||||
PopularTopEntrance popular_top_entrance = 9;
|
||||
//
|
||||
RcmdOneItem rcmdOneItem = 10;
|
||||
RcmdOneItem rcmd_one_item = 10;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,9 +7,9 @@ import "bilibili/app/card/v1/ad.proto";
|
||||
// 条目基本信息
|
||||
message Base {
|
||||
// 卡片类型
|
||||
string cardType = 1;
|
||||
string card_type = 1;
|
||||
// 卡片跳转类型?
|
||||
string cardGoto = 2;
|
||||
string card_goto = 2;
|
||||
// 跳转类型
|
||||
// av:视频稿件 mid:用户空间
|
||||
string goto = 3;
|
||||
@@ -22,28 +22,28 @@ message Base {
|
||||
// 跳转uri
|
||||
string uri = 7;
|
||||
//
|
||||
ThreePoint threePoint = 8;
|
||||
ThreePoint three_point = 8;
|
||||
//
|
||||
Args args = 9;
|
||||
//
|
||||
PlayerArgs playerArgs = 10;
|
||||
PlayerArgs player_args = 10;
|
||||
// 条目排位序号
|
||||
int64 idx = 11;
|
||||
//
|
||||
AdInfo adInfo = 12;
|
||||
AdInfo ad_info = 12;
|
||||
//
|
||||
Mask mask = 13;
|
||||
//来源标识
|
||||
// recommend:推荐 operation:管理?
|
||||
string fromType = 14;
|
||||
string from_type = 14;
|
||||
//
|
||||
repeated ThreePointV2 threePointV2 = 15;
|
||||
repeated ThreePointV2 three_point_v2 = 15;
|
||||
//
|
||||
repeated ThreePointV3 threePointV3 = 16;
|
||||
repeated ThreePointV3 three_point_v3 = 16;
|
||||
//
|
||||
Button descButton = 17;
|
||||
Button desc_button = 17;
|
||||
// 三点v4
|
||||
ThreePointV4 threePointV4 = 18;
|
||||
ThreePointV4 three_point_v4 = 18;
|
||||
}
|
||||
|
||||
// 按钮信息
|
||||
@@ -61,7 +61,7 @@ message Button {
|
||||
// 类型
|
||||
int32 type = 6;
|
||||
// 事件v2
|
||||
string eventV2 = 7;
|
||||
string event_v2 = 7;
|
||||
// 关系信息
|
||||
Relation relation = 8;
|
||||
}
|
||||
@@ -69,11 +69,11 @@ message Button {
|
||||
//
|
||||
message ThreePoint {
|
||||
//
|
||||
repeated DislikeReason dislikeReasons = 1;
|
||||
repeated DislikeReason dislike_reasons = 1;
|
||||
//
|
||||
repeated DislikeReason feedbacks = 2;
|
||||
//稍后再看
|
||||
int32 watchLater = 3;
|
||||
int32 watch_later = 3;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -213,7 +213,7 @@ message SharePlane {
|
||||
// 标题
|
||||
string title = 1;
|
||||
// 副标贴文案
|
||||
string shareSubtitle = 2;
|
||||
string share_subtitle = 2;
|
||||
// 备注
|
||||
string desc = 3;
|
||||
// 封面url
|
||||
@@ -223,15 +223,15 @@ message SharePlane {
|
||||
// 稿件bvid
|
||||
string bvid = 6;
|
||||
// 允许分享方式
|
||||
map<string,bool> shareTo = 7;
|
||||
map<string,bool> share_to = 7;
|
||||
// UP主昵称
|
||||
string author = 8;
|
||||
// UP主mid
|
||||
int64 authorId = 9;
|
||||
int64 author_id = 9;
|
||||
// 短连接
|
||||
string shortLink = 10;
|
||||
string short_link = 10;
|
||||
// 播放次数文案
|
||||
string playNumber = 11;
|
||||
string play_number = 11;
|
||||
}
|
||||
|
||||
// 稍后再看信息
|
||||
@@ -247,36 +247,36 @@ message ReasonStyle {
|
||||
// 文案
|
||||
string text = 1;
|
||||
// 文字颜色
|
||||
string textColor = 2;
|
||||
string text_color = 2;
|
||||
// 背景色
|
||||
string bgColor = 3;
|
||||
string bg_color = 3;
|
||||
// 边框色
|
||||
string borderColor = 4;
|
||||
string border_color = 4;
|
||||
// 图标url
|
||||
string iconUrl = 5;
|
||||
string icon_url = 5;
|
||||
// 文字颜色-夜间
|
||||
string textColorNight = 6;
|
||||
string text_color_night = 6;
|
||||
// 背景色-夜间
|
||||
string bgColorNight = 7;
|
||||
string bg_color_night = 7;
|
||||
// 边框色-夜间
|
||||
string borderColorNight = 8;
|
||||
string border_color_night = 8;
|
||||
// 图标url-夜间
|
||||
string iconNightUrl = 9;
|
||||
string icon_night_url = 9;
|
||||
// 背景风格id
|
||||
// 1:无背景 2:有背景
|
||||
int32 bgStyle = 10;
|
||||
int32 bg_style = 10;
|
||||
//
|
||||
string uri = 11;
|
||||
//
|
||||
string iconBgUrl = 12;
|
||||
string icon_bg_url = 12;
|
||||
//
|
||||
string event = 13;
|
||||
//
|
||||
string eventV2 = 14;
|
||||
string event_v2 = 14;
|
||||
//
|
||||
int32 rightIconType = 15;
|
||||
int32 right_icon_type = 15;
|
||||
//
|
||||
string leftIconType = 16;
|
||||
string left_icon_type = 16;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -318,7 +318,7 @@ message Relation {
|
||||
// 关系状态
|
||||
int32 status = 1;
|
||||
// 是否关注
|
||||
int32 isFollow = 2;
|
||||
int32 is_follow = 2;
|
||||
// 是否粉丝
|
||||
int32 isFollowed = 3;
|
||||
int32 is_followed = 3;
|
||||
}
|
||||
|
||||
@@ -290,22 +290,22 @@ message EntranceItem {
|
||||
// 标题
|
||||
string title = 3;
|
||||
// 入口模块id
|
||||
string moduleId = 4;
|
||||
string module_id = 4;
|
||||
// 跳转uri
|
||||
string uri = 5;
|
||||
// 入口id
|
||||
int64 entranceId = 6;
|
||||
int64 entrance_id = 6;
|
||||
// 气泡信息
|
||||
Bubble bubble = 7;
|
||||
// 入口类型
|
||||
// 1:代表分品类热门
|
||||
int32 entranceType = 8;
|
||||
int32 entrance_type = 8;
|
||||
}
|
||||
|
||||
// 气泡信息
|
||||
message Bubble {
|
||||
// 文案
|
||||
string bubbleContent = 1;
|
||||
string bubble_content = 1;
|
||||
// 版本
|
||||
int32 version = 2;
|
||||
// 起始时间
|
||||
|
||||
@@ -55,7 +55,7 @@ message CursorReq {
|
||||
// all:全部 archive:视频 live:直播 article:专栏
|
||||
string business = 2;
|
||||
// 秒开参数(旧版)
|
||||
PlayerPreloadParams playerPreload = 3;
|
||||
PlayerPreloadParams player_preload = 3;
|
||||
// 秒开参数
|
||||
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 4;
|
||||
}
|
||||
@@ -80,7 +80,7 @@ message CursorV2Req {
|
||||
// archive:视频 live:直播 article:专栏 goods:商品 show:展演
|
||||
string business = 2;
|
||||
// 秒开参数(旧版)
|
||||
PlayerPreloadParams playerPreload = 3;
|
||||
PlayerPreloadParams player_preload = 3;
|
||||
// 秒开参数
|
||||
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 4;
|
||||
// 是否选择本机的播放历史
|
||||
@@ -102,15 +102,15 @@ message CursorItem {
|
||||
// 主体数据
|
||||
oneof card_item {
|
||||
// ugc稿件
|
||||
CardUGC cardUGC = 1;
|
||||
CardUGC card_ugc = 1;
|
||||
// pgc稿件
|
||||
CardOGV cardOGV = 2;
|
||||
CardOGV card_ogv = 2;
|
||||
// 专栏
|
||||
CardArticle cardArticle = 3;
|
||||
CardArticle card_article = 3;
|
||||
// 直播
|
||||
CardLive cardLive = 4;
|
||||
CardLive card_live = 4;
|
||||
// 课程
|
||||
CardCheese cardCheese = 5;
|
||||
CardCheese card_cheese = 5;
|
||||
}
|
||||
// 标题
|
||||
string title = 6;
|
||||
@@ -130,7 +130,7 @@ message CursorItem {
|
||||
// 设备标识
|
||||
DeviceType dt = 13;
|
||||
// 是否有分享按钮
|
||||
bool hasShare = 14;
|
||||
bool has_share = 14;
|
||||
}
|
||||
|
||||
// ugc稿件卡片
|
||||
@@ -146,7 +146,7 @@ message CardUGC {
|
||||
// UP主mid
|
||||
int64 mid = 5;
|
||||
// 是否展示关注按钮
|
||||
bool displayAttention = 6;
|
||||
bool display_attention = 6;
|
||||
// 历史观看视频cid
|
||||
int64 cid = 7;
|
||||
// 历史观看视频分P
|
||||
@@ -160,9 +160,9 @@ message CardUGC {
|
||||
// 总分P数
|
||||
int64 videos = 12;
|
||||
// 短链接
|
||||
string shortLink = 13;
|
||||
string short_link = 13;
|
||||
// 分享副标题
|
||||
string shareSubtitle = 14;
|
||||
string share_subtitle = 14;
|
||||
// 播放数
|
||||
int64 view = 15;
|
||||
}
|
||||
@@ -208,7 +208,7 @@ message CardLive {
|
||||
// 直播状态
|
||||
int32 ststus = 5;
|
||||
// 是否展示关注按钮
|
||||
bool displayAttention = 6;
|
||||
bool display_attention = 6;
|
||||
// 关系信息
|
||||
Relation relation = 7;
|
||||
}
|
||||
@@ -248,7 +248,7 @@ message Cursor {
|
||||
// 删除历史记录-请求
|
||||
message DeleteReq {
|
||||
// 历史记录信息
|
||||
HisInfo hisInfo = 1;
|
||||
HisInfo his_info = 1;
|
||||
}
|
||||
|
||||
// 历史记录信息
|
||||
@@ -273,22 +273,14 @@ message DeviceType {
|
||||
|
||||
//设备标识代码
|
||||
enum DT {
|
||||
// 未知
|
||||
Un known = 0;
|
||||
//手机端
|
||||
Phone = 1;
|
||||
// ipad端
|
||||
Pad = 2;
|
||||
// web端
|
||||
PC = 3;
|
||||
// TV端
|
||||
TV = 4;
|
||||
//
|
||||
Car = 5;
|
||||
//
|
||||
Iot = 6;
|
||||
// apad端
|
||||
AndPad = 7;
|
||||
Unknown = 0; // 未知
|
||||
Phone = 1; // 手机端
|
||||
Pad = 2; // ipad端
|
||||
PC = 3; // web端
|
||||
TV = 4; // TV端
|
||||
Car = 5; //
|
||||
Iot = 6; //
|
||||
AndPad = 7; // apad端
|
||||
}
|
||||
|
||||
// 关系信息
|
||||
@@ -297,9 +289,9 @@ message Relation {
|
||||
// 1:未关注 2:已关注 3:被关注 4:互关
|
||||
int32 status = 1;
|
||||
// 用户关注UP主
|
||||
int32 isFollow = 2;
|
||||
int32 is_follow = 2;
|
||||
// UP主关注用户
|
||||
int32 isFollowed = 3;
|
||||
int32 is_followed = 3;
|
||||
}
|
||||
|
||||
// 搜索历史记录-请求
|
||||
@@ -358,7 +350,7 @@ message LatestHistoryReq {
|
||||
// archive:视频 live:直播 article:专栏 goods:商品 show:展演
|
||||
string business = 1;
|
||||
// 秒开参数
|
||||
PlayerPreloadParams playerPreload = 2;
|
||||
PlayerPreloadParams player_preload = 2;
|
||||
}
|
||||
|
||||
// 获取最新的历史记录-响应
|
||||
|
||||
@@ -17,7 +17,7 @@ message SuggestionResult3Req {
|
||||
int32 highlight = 2;
|
||||
// 是否青少年模式
|
||||
// 1:开启青少年模式
|
||||
int32 teenagersMode = 3;
|
||||
int32 teenagers_mode = 3;
|
||||
}
|
||||
|
||||
// 获取搜索建议-响应
|
||||
@@ -43,17 +43,17 @@ message ResultItem {
|
||||
// 图片
|
||||
string cover = 5;
|
||||
// 图片尺寸
|
||||
double coverSize = 6;
|
||||
double cover_size = 6;
|
||||
// sug词类型
|
||||
string sugType = 7;
|
||||
string sug_type = 7;
|
||||
// 词条大类型
|
||||
int32 termType = 8;
|
||||
int32 term_type = 8;
|
||||
// 跳转类型
|
||||
string goto = 9;
|
||||
// 跳转uri
|
||||
string uri = 10;
|
||||
// 认证信息
|
||||
OfficialVerify officialVerify = 11;
|
||||
OfficialVerify official_verify = 11;
|
||||
// 跳转参数
|
||||
string param = 12;
|
||||
// up主mid
|
||||
@@ -67,7 +67,7 @@ message ResultItem {
|
||||
// 投稿时间
|
||||
int64 ptime = 17;
|
||||
// season类型名称
|
||||
string seasonTypeName = 18;
|
||||
string season_type_name = 18;
|
||||
// 地区
|
||||
string area = 19;
|
||||
// 作品风格
|
||||
@@ -83,9 +83,9 @@ message ResultItem {
|
||||
//
|
||||
string styles = 25;
|
||||
//
|
||||
int64 moduleId = 26;
|
||||
int64 module_id = 26;
|
||||
//
|
||||
string liveLink = 27;
|
||||
string live_link = 27;
|
||||
}
|
||||
|
||||
// 认证信息
|
||||
@@ -102,18 +102,18 @@ message ReasonStyle {
|
||||
// 角标文案
|
||||
string text = 1;
|
||||
// 文案日间色值
|
||||
string textColor = 2;
|
||||
string text_color = 2;
|
||||
// 文案夜间色值
|
||||
string textColorNight = 3;
|
||||
string text_color_night = 3;
|
||||
// 背景日间色值
|
||||
string bgColor = 4;
|
||||
string bg_color = 4;
|
||||
// 背景夜间色值
|
||||
string bgColorNight = 5;
|
||||
string bg_color_night = 5;
|
||||
// 边框日间色值
|
||||
string borderColor = 6;
|
||||
string border_color = 6;
|
||||
// 边框夜间色值
|
||||
string borderColorNight = 7;
|
||||
string border_color_night = 7;
|
||||
// 角标样式
|
||||
// 1:填充模式 2:镂空模式
|
||||
int32 bgStyle = 8;
|
||||
int32 bg_style = 8;
|
||||
}
|
||||
|
||||
@@ -51,23 +51,23 @@ message PlayURLReply {
|
||||
// 总时长(单位为ms)
|
||||
uint64 timelength = 3;
|
||||
// 编码id
|
||||
uint32 videoCodecid = 4;
|
||||
uint32 video_codecid = 4;
|
||||
// 视频流版本
|
||||
uint32 fnver = 5;
|
||||
// 视频流格式
|
||||
uint32 fnval = 6;
|
||||
// 是否支持投影
|
||||
bool videoProject = 7;
|
||||
bool video_project = 7;
|
||||
// 分段视频流列表
|
||||
repeated ResponseUrl durl = 8;
|
||||
// dash数据
|
||||
ResponseDash dash = 9;
|
||||
// 是否非全二压
|
||||
int32 noRexcode = 10;
|
||||
int32 no_rexcode = 10;
|
||||
// 互动视频升级提示
|
||||
UpgradeLimit upgradeLimit = 11;
|
||||
UpgradeLimit upgrade_limit = 11;
|
||||
// 清晰度描述列表
|
||||
repeated FormatDescription supportFormats = 12;
|
||||
repeated FormatDescription support_formats = 12;
|
||||
// 视频格式
|
||||
VideoType type = 13;
|
||||
}
|
||||
@@ -83,7 +83,7 @@ message ResponseUrl {
|
||||
// 主线流
|
||||
string url = 4;
|
||||
// 备用流
|
||||
repeated string backupUrl = 5;
|
||||
repeated string backup_url = 5;
|
||||
// md5
|
||||
string md5 = 6;
|
||||
}
|
||||
@@ -99,19 +99,21 @@ message ResponseDash {
|
||||
// dash条目
|
||||
message DashItem {
|
||||
// 清晰度
|
||||
uint32 id=1;
|
||||
uint32 id = 1;
|
||||
// 主线流
|
||||
string baseUrl=2;
|
||||
string baseUrl = 2;
|
||||
// 备用流
|
||||
repeated string backupUrl=3;
|
||||
repeated string backup_url = 3;
|
||||
// 带宽
|
||||
uint32 bandwidth=4;
|
||||
uint32 bandwidth = 4;
|
||||
// 编码id
|
||||
uint32 codecid=5;
|
||||
uint32 codecid = 5;
|
||||
// md5
|
||||
string md5=6;
|
||||
string md5 = 6;
|
||||
// 大小
|
||||
uint64 size=7;
|
||||
uint64 size = 7;
|
||||
// 帧率
|
||||
string frame_rate = 8;
|
||||
}
|
||||
|
||||
// 互动视频升级提示
|
||||
@@ -143,14 +145,14 @@ message FormatDescription {
|
||||
// 清晰度描述
|
||||
string description = 3;
|
||||
// 新描述
|
||||
string newDescription = 4;
|
||||
string new_description = 4;
|
||||
// 选中态的清晰度描述
|
||||
string displayDesc = 5;
|
||||
string display_desc = 5;
|
||||
// 选中态的清晰度描述的角标
|
||||
string superscript = 6;
|
||||
}
|
||||
|
||||
// 投屏地址请求
|
||||
// 投屏地址-请求
|
||||
message ProjectReq {
|
||||
// 稿件avid
|
||||
int64 aid = 1;
|
||||
@@ -167,13 +169,13 @@ message ProjectReq {
|
||||
uint32 download = 6;
|
||||
// 流url强制是用域名
|
||||
// 0:允许使用ip 1:使用http 2:使用https
|
||||
int32 forceHost = 7;
|
||||
int32 force_host = 7;
|
||||
// 是否4K
|
||||
bool fourk = 8;
|
||||
// 当前页spm
|
||||
string spmid = 9;
|
||||
// 上一页spm
|
||||
string fromSpmid = 10;
|
||||
string from_spmid = 10;
|
||||
// 使用协议
|
||||
// 0:默认乐播 1:自建协议 2:云投屏 3:airplay
|
||||
int32 protocol = 11;
|
||||
@@ -204,51 +206,46 @@ message PlayViewReq {
|
||||
uint32 download = 6;
|
||||
// 流url强制是用域名
|
||||
// 0:允许使用ip 1:使用http 2:使用https
|
||||
int32 forceHost = 7;
|
||||
int32 force_host = 7;
|
||||
// 是否4K
|
||||
bool fourk = 8;
|
||||
// 当前页spm
|
||||
string spmid = 9;
|
||||
// 上一页spm
|
||||
string fromSpmid = 10;
|
||||
string from_spmid = 10;
|
||||
// 青少年模式
|
||||
int32 teenagersMode = 11;
|
||||
int32 teenagers_mode = 11;
|
||||
// 编码
|
||||
CodeType preferCodecType = 12;
|
||||
CodeType prefer_codec_type = 12;
|
||||
// 业务类型
|
||||
Business business = 13;
|
||||
}
|
||||
|
||||
// 业务类型
|
||||
enum Business {
|
||||
// 未知类型
|
||||
UNKNOWN = 0;
|
||||
// story业务
|
||||
STORY = 1;
|
||||
UNKNOWN = 0; // 未知类型
|
||||
STORY = 1; // story业务
|
||||
}
|
||||
|
||||
// 编码类型
|
||||
enum CodeType {
|
||||
// 默认
|
||||
NOCODE = 0;
|
||||
// H.264
|
||||
CODE264 = 1;
|
||||
// H.265
|
||||
CODE265 = 2;
|
||||
NOCODE = 0; // 默认
|
||||
CODE264 = 1; // H.264
|
||||
CODE265 = 2; // H.265
|
||||
}
|
||||
|
||||
// 播放页信息-回复
|
||||
message PlayViewReply {
|
||||
// 视频流信息
|
||||
VideoInfo info = 1;
|
||||
VideoInfo video_info = 1;
|
||||
// 播放控件用户自定义配置
|
||||
PlayAbilityConf PlayConf = 2;
|
||||
PlayAbilityConf play_conf = 2;
|
||||
// 互动视频升级提示
|
||||
UpgradeLimit upgradeLimit = 3;
|
||||
UpgradeLimit upgrade_limit = 3;
|
||||
// Chronos灰度管理
|
||||
Chronos chronos = 4;
|
||||
// 播放控件稿件配置
|
||||
PlayArcConf playArc = 5;
|
||||
PlayArcConf play_arc = 5;
|
||||
// 事件
|
||||
Event event = 6;
|
||||
}
|
||||
@@ -279,189 +276,104 @@ message PlayConfReq {}
|
||||
// 获取播放界面配置-响应
|
||||
message PlayConfReply {
|
||||
//播放控件用户自定义配置
|
||||
PlayAbilityConf playConf = 1;
|
||||
PlayAbilityConf play_conf = 1;
|
||||
}
|
||||
|
||||
// 禁用功能配置
|
||||
message PlayAbilityConf {
|
||||
// 后台播放
|
||||
CloudConf backgroundPlayDisable = 1;
|
||||
// 镜像反转
|
||||
CloudConf flipDisable = 2;
|
||||
// 投屏
|
||||
CloudConf castDisable = 3;
|
||||
// 反馈
|
||||
CloudConf feedbackDisable = 4;
|
||||
// 字幕
|
||||
CloudConf subtitleDisable = 5;
|
||||
// 播放速度
|
||||
CloudConf playbackRateDisable = 6;
|
||||
// 定时停止
|
||||
CloudConf timeUpDisable = 7;
|
||||
// 播放方式
|
||||
CloudConf playbackModeDisable = 8;
|
||||
// 画面尺寸
|
||||
CloudConf scaleModeDisable = 9;
|
||||
// 赞
|
||||
CloudConf likeDisable = 10;
|
||||
// 踩
|
||||
CloudConf dislikeDisable = 11;
|
||||
// 投币
|
||||
CloudConf coinDisable = 12;
|
||||
// 充电
|
||||
CloudConf elecDisable = 13;
|
||||
// 分享
|
||||
CloudConf shareDisable = 14;
|
||||
// 截图
|
||||
CloudConf screenShotDisable = 15;
|
||||
// 锁定
|
||||
CloudConf lockScreenDisable = 16;
|
||||
// 相关推荐
|
||||
CloudConf recommendDisable = 17;
|
||||
// 播放速度
|
||||
CloudConf playbackSpeedDisable = 18;
|
||||
// 清晰度
|
||||
CloudConf definitionDisable = 19;
|
||||
// 选集
|
||||
CloudConf selectionsDisable = 20;
|
||||
// 下一集
|
||||
CloudConf nextDisable = 21;
|
||||
// 编辑弹幕
|
||||
CloudConf editDmDisable = 22;
|
||||
// 小窗
|
||||
CloudConf smallWindowDisable = 23;
|
||||
// 震动
|
||||
CloudConf shakeDisable = 24;
|
||||
// 外层面板弹幕设置
|
||||
CloudConf outerDmDisable = 25;
|
||||
// 三点内弹幕设置
|
||||
CloudConf innerDmDisable = 26;
|
||||
// 一起看入口
|
||||
CloudConf freyaEnterDisable = 27;
|
||||
// 杜比音效
|
||||
CloudConf dolbyDisable = 28;
|
||||
CloudConf background_play_conf = 1; // 后台播放
|
||||
CloudConf flip_conf = 2; // 镜像反转
|
||||
CloudConf cast_conf = 3; // 投屏
|
||||
CloudConf feedback_conf = 4; // 反馈
|
||||
CloudConf subtitle_conf = 5; // 字幕
|
||||
CloudConf playback_rate_conf = 6; // 播放速度
|
||||
CloudConf time_up_conf = 7; // 定时停止
|
||||
CloudConf playback_mode_conf = 8; // 播放方式
|
||||
CloudConf scale_mode_conf = 9; // 画面尺寸
|
||||
CloudConf like_conf = 10; // 赞
|
||||
CloudConf dislike_conf = 11; // 踩
|
||||
CloudConf coin_conf = 12; // 投币
|
||||
CloudConf elec_conf = 13; // 充电
|
||||
CloudConf share_conf = 14; // 分享
|
||||
CloudConf screen_shot_conf = 15; // 截图
|
||||
CloudConf lock_screen_conf = 16; // 锁定
|
||||
CloudConf recommend_conf = 17; // 相关推荐
|
||||
CloudConf playback_speed_conf = 18; // 播放速度
|
||||
CloudConf definition_conf = 19; // 清晰度
|
||||
CloudConf selections_conf = 20; // 选集
|
||||
CloudConf next_conf = 21; // 下一集
|
||||
CloudConf edit_dm_conf = 22; // 编辑弹幕
|
||||
CloudConf small_window_conf = 23; // 小窗
|
||||
CloudConf shake_conf = 24; // 震动
|
||||
CloudConf outer_dm_conf = 25; // 外层面板弹幕设置
|
||||
CloudConf innerDmDisable = 26; // 三点内弹幕设置
|
||||
CloudConf inner_dm_conf = 27; // 一起看入口
|
||||
CloudConf dolby_conf = 28; // 杜比音效
|
||||
}
|
||||
|
||||
// 播放控件稿件配置
|
||||
message PlayArcConf {
|
||||
// 后台播放
|
||||
ArcConf backgroundPlayConf = 1;
|
||||
// 镜像反转
|
||||
ArcConf flipConf = 2;
|
||||
// 投屏
|
||||
ArcConf castConf = 3;
|
||||
// 反馈
|
||||
ArcConf feedbackConf = 4;
|
||||
// 字幕
|
||||
ArcConf subtitleConf = 5;
|
||||
// 播放速度
|
||||
ArcConf playbackRateConf = 6;
|
||||
// 定时停止
|
||||
ArcConf timeUpConf = 7;
|
||||
// 播放方式
|
||||
ArcConf playbackModeConf = 8;
|
||||
// 画面尺寸
|
||||
ArcConf scaleModeConf = 9;
|
||||
// 赞
|
||||
ArcConf likeConf = 10;
|
||||
// 踩
|
||||
ArcConf dislikeConf = 11;
|
||||
// 投币
|
||||
ArcConf coinConf = 12;
|
||||
// 充电
|
||||
ArcConf elecConf = 13;
|
||||
// 分享
|
||||
ArcConf shareConf = 14;
|
||||
// 截图
|
||||
ArcConf screenShotConf = 15;
|
||||
// 锁定
|
||||
ArcConf lockScreenConf = 16;
|
||||
// 相关推荐
|
||||
ArcConf recommendConf = 17;
|
||||
// 播放速度
|
||||
ArcConf playbackSpeedConf = 18;
|
||||
// 清晰度
|
||||
ArcConf definitionConf = 19;
|
||||
// 选集
|
||||
ArcConf selectionsConf = 20;
|
||||
// 下一集
|
||||
ArcConf nextConf = 21;
|
||||
// 编辑弹幕
|
||||
ArcConf editDmConf = 22;
|
||||
// 小窗
|
||||
ArcConf smallWindowConf = 23;
|
||||
// 震动
|
||||
ArcConf shakeConf = 24;
|
||||
// 外层面板弹幕设置
|
||||
ArcConf outerDmConf = 25;
|
||||
// 三点内弹幕设置
|
||||
ArcConf innerDmConf = 26;
|
||||
// 一起看入口
|
||||
ArcConf freyaEnterConf = 27;
|
||||
// 杜比音效
|
||||
ArcConf dolbyConf = 28;
|
||||
ArcConf background_play_conf = 1; // 后台播放
|
||||
ArcConf flip_conf = 2; // 镜像反转
|
||||
ArcConf cast_conf = 3; // 投屏
|
||||
ArcConf feedback_conf = 4; // 反馈
|
||||
ArcConf subtitle_conf = 5; // 字幕
|
||||
ArcConf playback_rate_conf = 6; // 播放速度
|
||||
ArcConf time_up_conf = 7; // 定时停止
|
||||
ArcConf playback_mode_conf = 8; // 播放方式
|
||||
ArcConf scale_mode_conf = 9; // 画面尺寸
|
||||
ArcConf like_conf = 10; // 赞
|
||||
ArcConf dislike_conf = 11; // 踩
|
||||
ArcConf coin_conf = 12; // 投币
|
||||
ArcConf elec_conf = 13; // 充电
|
||||
ArcConf share_conf = 14; // 分享
|
||||
ArcConf screen_shot_conf = 15; // 截图
|
||||
ArcConf lock_screen_conf = 16; // 锁定
|
||||
ArcConf recommend_conf = 17; // 相关推荐
|
||||
ArcConf playback_speed_conf = 18; // 播放速度
|
||||
ArcConf definition_conf = 19; // 清晰度
|
||||
ArcConf selections_conf = 20; // 选集
|
||||
ArcConf next_conf = 21; // 下一集
|
||||
ArcConf edit_dm_conf = 22; // 编辑弹幕
|
||||
ArcConf small_window_conf = 23; // 小窗
|
||||
ArcConf shake_conf = 24; // 震动
|
||||
ArcConf outer_dm_conf = 25; // 外层面板弹幕设置
|
||||
ArcConf inner_dm_conf = 26; // 三点内弹幕设置
|
||||
ArcConf panorama_conf = 27; // 一起看入口
|
||||
ArcConf dolby_conf = 28; // 杜比音效
|
||||
}
|
||||
|
||||
// 设置类型
|
||||
enum ConfType {
|
||||
//
|
||||
NoType = 0;
|
||||
// 镜像反转
|
||||
FLIPCONF = 1;
|
||||
// 视频投屏
|
||||
CASTCONF = 2;
|
||||
// 反馈
|
||||
FEEDBACK = 3;
|
||||
// 字幕
|
||||
SUBTITLE = 4;
|
||||
// 播放速度
|
||||
PLAYBACKRATE = 5;
|
||||
// 定时停止播放
|
||||
TIMEUP = 6;
|
||||
// 播放方式
|
||||
PLAYBACKMODE = 7;
|
||||
// 画面尺寸
|
||||
SCALEMODE = 8;
|
||||
// 后台播放
|
||||
BACKGROUNDPLAY = 9;
|
||||
// 顶
|
||||
LIKE = 10;
|
||||
// 踩
|
||||
DISLIKE = 11;
|
||||
// 投币
|
||||
COIN = 12;
|
||||
// 充电
|
||||
ELEC = 13;
|
||||
// 分享
|
||||
SHARE = 14;
|
||||
// 截图
|
||||
SCREENSHOT = 15;
|
||||
// 锁屏
|
||||
LOCKSCREEN = 16;
|
||||
// 倍速
|
||||
RECOMMEND = 17;
|
||||
// 清晰度
|
||||
PLAYBACKSPEED = 18;
|
||||
// 选集
|
||||
DEFINITION = 19;
|
||||
// 下一集
|
||||
SELECTIONS = 20;
|
||||
// 编辑弹幕
|
||||
NEXT = 21;
|
||||
// 小窗
|
||||
EDITDM = 22;
|
||||
// 播放震动
|
||||
SMALLWINDOW = 23;
|
||||
// 外层面板弹幕设置
|
||||
SHAKE = 24;
|
||||
// 三点内弹幕设置
|
||||
OUTERDM = 25;
|
||||
// 三点内弹幕设置
|
||||
INNERDM = 26;
|
||||
// 全景
|
||||
PANORAMA = 27;
|
||||
// 杜比
|
||||
DOLBY = 28;
|
||||
NoType = 0; //
|
||||
FLIPCONF = 1; // 镜像反转
|
||||
CASTCONF = 2; // 视频投屏
|
||||
FEEDBACK = 3; // 反馈
|
||||
SUBTITLE = 4; // 字幕
|
||||
PLAYBACKRATE = 5; // 播放速度
|
||||
TIMEUP = 6; // 定时停止播放
|
||||
PLAYBACKMODE = 7; // 播放方式
|
||||
SCALEMODE = 8; // 画面尺寸
|
||||
BACKGROUNDPLAY = 9; // 后台播放
|
||||
LIKE = 10; // 顶
|
||||
DISLIKE = 11; // 踩
|
||||
COIN = 12; // 投币
|
||||
ELEC = 13; // 充电
|
||||
SHARE = 14; // 分享
|
||||
SCREENSHOT = 15; // 截图
|
||||
LOCKSCREEN = 16; // 锁屏
|
||||
RECOMMEND = 17; // 推荐
|
||||
PLAYBACKSPEED = 18; // 倍速
|
||||
DEFINITION = 19; // 清晰度
|
||||
SELECTIONS = 20; // 选集
|
||||
NEXT = 21; // 下一集
|
||||
EDITDM = 22; // 编辑弹幕
|
||||
SMALLWINDOW = 23; // 小窗
|
||||
SHAKE = 24; // 播放震动
|
||||
OUTERDM = 25; // 外层面板弹幕设置
|
||||
INNERDM = 26; // 三点内弹幕设置
|
||||
PANORAMA = 27; // 全景
|
||||
DOLBY = 28; // 杜比
|
||||
}
|
||||
|
||||
//
|
||||
@@ -469,9 +381,9 @@ message CloudConf {
|
||||
// 是否展示功能
|
||||
bool show = 1;
|
||||
// 设置类型
|
||||
ConfType confType = 2;
|
||||
ConfType conf_type = 2;
|
||||
//
|
||||
FieldValue fieldValue = 3;
|
||||
FieldValue field_value = 3;
|
||||
}
|
||||
|
||||
// 配置字段值
|
||||
@@ -486,36 +398,33 @@ message FieldValue {
|
||||
// 配置项
|
||||
message ArcConf {
|
||||
// 是否支持
|
||||
bool isSupport = 1;
|
||||
bool is_support = 1;
|
||||
}
|
||||
|
||||
// 视频url信息
|
||||
message VideoInfo {
|
||||
// 视频清晰度
|
||||
uint32 quality=1;
|
||||
uint32 quality = 1;
|
||||
// 视频格式
|
||||
string format=2;
|
||||
string format = 2;
|
||||
// 视频时长
|
||||
uint64 timelength=3;
|
||||
uint64 timelength = 3;
|
||||
// 视频编码id
|
||||
uint32 videoCodecid=4;
|
||||
uint32 video_codecid = 4;
|
||||
// 视频流
|
||||
repeated Stream streamList=5;
|
||||
repeated Stream stream_list = 5;
|
||||
// 伴音流
|
||||
repeated DashItem audio=6;
|
||||
repeated DashItem dash_audio = 6;
|
||||
// 杜比伴音流
|
||||
DolbyItem dolby=7;
|
||||
DolbyItem dolby = 7;
|
||||
}
|
||||
|
||||
//杜比音频信息
|
||||
// 杜比音频信息
|
||||
message DolbyItem {
|
||||
enum Type {
|
||||
// NONE
|
||||
NONE = 0;
|
||||
// 普通杜比音效
|
||||
COMMON = 1;
|
||||
// 全景杜比音效
|
||||
ATMOS = 2;
|
||||
NONE = 0; // NONE
|
||||
COMMON = 1; // 普通杜比音效
|
||||
ATMOS = 2; // 全景杜比音效
|
||||
}
|
||||
// 杜比类型
|
||||
Type type = 1;
|
||||
@@ -526,13 +435,13 @@ message DolbyItem {
|
||||
// 视频流信息
|
||||
message Stream {
|
||||
// 元数据
|
||||
StreamInfo info = 1;
|
||||
StreamInfo stream_info = 1;
|
||||
// 流数据
|
||||
oneof contentCase {
|
||||
oneof content {
|
||||
// dash流
|
||||
DashVideo dashvideo = 2;
|
||||
DashVideo dash_video = 2;
|
||||
// 分段流
|
||||
SegmentVideo segmentvideo = 3;
|
||||
SegmentVideo segment_video = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -544,10 +453,8 @@ message SegmentVideo {
|
||||
|
||||
// 错误码
|
||||
enum PlayErr {
|
||||
//
|
||||
NoErr_VALUE = 0;
|
||||
// 管控类型的错误码
|
||||
WithMultiDeviceLoginErr_VALUE = 1;
|
||||
NoErr = 0; //
|
||||
WithMultiDeviceLoginErr = 1; // 管控类型的错误码
|
||||
}
|
||||
|
||||
// 流媒体元数据
|
||||
@@ -559,23 +466,23 @@ message StreamInfo {
|
||||
// 格式描述
|
||||
string description = 3;
|
||||
// 错误码
|
||||
uint32 errCode = 4;
|
||||
uint32 err_code = 4;
|
||||
// 不满足条件信息
|
||||
StreamLimit limit = 5;
|
||||
// 是否需要vip
|
||||
bool needVip = 6;
|
||||
bool need_vip = 6;
|
||||
// 是否需要登录
|
||||
bool needLogin = 7;
|
||||
bool need_login = 7;
|
||||
// 是否完整
|
||||
bool intact = 8;
|
||||
// 是否非全二压
|
||||
bool noRexcode = 9;
|
||||
bool no_rexcode = 9;
|
||||
// 清晰度属性位
|
||||
int64 attribute = 10;
|
||||
// 新版格式描述
|
||||
string newDescription = 11;
|
||||
string new_description = 11;
|
||||
// 格式文字
|
||||
string displayDesc = 12;
|
||||
string display_desc = 12;
|
||||
// 新版格式描述备注
|
||||
string superscript = 13;
|
||||
}
|
||||
@@ -593,7 +500,7 @@ message StreamLimit {
|
||||
// 编辑播放界面配置-请求
|
||||
message PlayConfEditReq {
|
||||
// 播放界面配置
|
||||
repeated PlayConfState playConf = 1;
|
||||
repeated PlayConfState play_conf = 1;
|
||||
}
|
||||
|
||||
// 编辑播放界面配置-响应
|
||||
@@ -602,18 +509,19 @@ message PlayConfEditReply {}
|
||||
// 播放界面配置
|
||||
message PlayConfState {
|
||||
// 设置类型
|
||||
ConfType confType = 1;
|
||||
ConfType conf_type = 1;
|
||||
// 是否隐藏
|
||||
bool show = 2;
|
||||
// 配置字段值
|
||||
FieldValue fieldValue = 3;
|
||||
}
|
||||
//dash视频流
|
||||
FieldValue field_value = 3;
|
||||
}
|
||||
|
||||
// dash视频流
|
||||
message DashVideo {
|
||||
// 主线流
|
||||
string baseUrl = 1;
|
||||
string base_url = 1;
|
||||
// 备用流
|
||||
repeated string backupUrl = 2;
|
||||
repeated string backup_url = 2;
|
||||
// 带宽
|
||||
uint32 bandwidth = 3;
|
||||
// 编码id
|
||||
@@ -625,17 +533,13 @@ message DashVideo {
|
||||
// 伴音质量id
|
||||
uint32 audioId = 7;
|
||||
// 是否非全二压
|
||||
bool noRexcode = 8;
|
||||
bool no_rexcode = 8;
|
||||
}
|
||||
|
||||
// 视频类型
|
||||
enum VideoType {
|
||||
//
|
||||
Unknown_VALUE = 0;
|
||||
// flv格式
|
||||
FLV_VALUE = 1;
|
||||
// dash格式
|
||||
DASH_VALUE = 2;
|
||||
// mp4格式
|
||||
MP4_VALUE = 3;
|
||||
Unknown_VALUE = 0; //
|
||||
FLV_VALUE = 1; // flv格式
|
||||
DASH_VALUE = 2; // dash格式
|
||||
MP4_VALUE = 3; // mp4格式
|
||||
}
|
||||
|
||||
@@ -20,13 +20,10 @@ enum EnvType {
|
||||
|
||||
//
|
||||
enum LevelType {
|
||||
Undefined = 0;
|
||||
// 高,需立即下载
|
||||
High = 1;
|
||||
// 中,可以延迟下载
|
||||
Middle = 2;
|
||||
// 低,仅在业务方使用到时由业务方手动进行下载
|
||||
Low = 3;
|
||||
Undefined = 0; //
|
||||
High = 1; // 高 需立即下载
|
||||
Middle = 2; // 中 可以延迟下载
|
||||
Low = 3; // 低 仅在业务方使用到时由业务方手动进行下载
|
||||
}
|
||||
|
||||
//
|
||||
@@ -65,18 +62,14 @@ message VersionReq {
|
||||
|
||||
//
|
||||
enum IncrementType {
|
||||
// 全量包
|
||||
Total = 0;
|
||||
// 增量包
|
||||
Incremental = 1;
|
||||
Total = 0; // 全量包
|
||||
Incremental = 1; // 增量包
|
||||
}
|
||||
|
||||
//
|
||||
enum CompressType {
|
||||
// unzip
|
||||
Unzip = 0;
|
||||
// 不操作
|
||||
Original = 1;
|
||||
Unzip = 0; // unzip
|
||||
Original = 1; // 不操作
|
||||
}
|
||||
|
||||
message ListReply {
|
||||
|
||||
@@ -17,7 +17,7 @@ message PopularResultReq {
|
||||
int64 idx = 1;
|
||||
// 登录标识
|
||||
// 1:未登陆用户第一页 2:登陆用户第一页
|
||||
int32 loginEvent = 2;
|
||||
int32 login_event = 2;
|
||||
// 清晰度(旧版)
|
||||
int32 qn = 3;
|
||||
// 视频流版本(旧版)
|
||||
@@ -25,26 +25,26 @@ message PopularResultReq {
|
||||
// 视频流功能(旧版)
|
||||
int32 fnval = 5;
|
||||
// 是否强制使用域名(旧版)
|
||||
int32 forceHost = 6;
|
||||
int32 force_host = 6;
|
||||
// 是否4K(旧版)
|
||||
int32 fourk = 7;
|
||||
// 当前页面spm
|
||||
string spmid = 8;
|
||||
// 上此请求末尾项的param
|
||||
string lastParam = 9;
|
||||
string last_param = 9;
|
||||
// 上此请求的ver
|
||||
string ver = 10;
|
||||
// 分品类热门的入口ID
|
||||
int64 entranceId = 11;
|
||||
int64 entrance_id = 11;
|
||||
// 热门定位id集合
|
||||
string locationIds = 12;
|
||||
string location_ids = 12;
|
||||
// 0:tag页 1:中间页
|
||||
int32 sourceId = 13;
|
||||
int32 source_id = 13;
|
||||
// 数据埋点上报
|
||||
// 0:代表手动刷新 1:代表自动刷新
|
||||
int32 flush = 14;
|
||||
// 秒开参数
|
||||
bilibili.app.archive.middleware.v1.PlayerArgs playerArgs = 15;
|
||||
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 15;
|
||||
}
|
||||
|
||||
// 热门列表-响应
|
||||
@@ -60,19 +60,19 @@ message PopularReply {
|
||||
// 配置信息
|
||||
message Config {
|
||||
// 标题
|
||||
string itemTitle = 1;
|
||||
string item_title = 1;
|
||||
// 底部文案
|
||||
string bottomText = 2;
|
||||
string bottom_text = 2;
|
||||
// 底部图片url
|
||||
string bottomTextCover = 3;
|
||||
string bottom_text_cover = 3;
|
||||
// 底部跳转页url
|
||||
string bottomTextUrl = 4;
|
||||
string bottom_text_url = 4;
|
||||
// 顶部按钮信息列表
|
||||
repeated EntranceShow topItems = 5;
|
||||
repeated EntranceShow top_items = 5;
|
||||
// 头图url
|
||||
string headImage = 6;
|
||||
string head_image = 6;
|
||||
// 当前页按钮信息
|
||||
repeated EntranceShow pageItems = 7;
|
||||
repeated EntranceShow page_items = 7;
|
||||
//
|
||||
int32 hit = 8;
|
||||
}
|
||||
@@ -84,23 +84,23 @@ message EntranceShow {
|
||||
// 按钮名
|
||||
string title = 2;
|
||||
// 入口模块id
|
||||
string moduleId = 3;
|
||||
string module_id = 3;
|
||||
// 跳转uri
|
||||
string uri = 4;
|
||||
// 气泡信息
|
||||
Bubble bubble = 5;
|
||||
// 入口id
|
||||
int64 entranceId = 6;
|
||||
int64 entrance_id = 6;
|
||||
// 头图url
|
||||
string topPhoto = 7;
|
||||
string top_photo = 7;
|
||||
// 入口类型
|
||||
int32 entranceType = 8;
|
||||
int32 entrance_type = 8;
|
||||
}
|
||||
|
||||
// 气泡信息
|
||||
message Bubble {
|
||||
// 文案
|
||||
string bubbleContent = 1;
|
||||
string bubble_content = 1;
|
||||
// 版本
|
||||
int32 version = 2;
|
||||
// 起始时间
|
||||
|
||||
@@ -52,7 +52,7 @@ message Item {
|
||||
// 跳转uri
|
||||
string uri = 4;
|
||||
// 重定向url
|
||||
string redirectUrl = 5;
|
||||
string redirect_url = 5;
|
||||
// 跳转类型
|
||||
// av:视频稿件
|
||||
string goto = 6;
|
||||
@@ -71,7 +71,7 @@ message Item {
|
||||
// 收藏数
|
||||
int32 favourite = 13;
|
||||
// 发布时间
|
||||
int64 pubDate = 14;
|
||||
int64 pub_date = 14;
|
||||
// 分区tid
|
||||
int32 rid = 15;
|
||||
// 子分区名
|
||||
@@ -92,7 +92,7 @@ message Item {
|
||||
// UP主粉丝数
|
||||
int64 follower = 23;
|
||||
// UP主认证信息
|
||||
OfficialVerify officialVerify = 24;
|
||||
OfficialVerify official_verify = 24;
|
||||
// 同一UP收起子项列表
|
||||
repeated Item children = 25;
|
||||
// 关系信息
|
||||
@@ -114,7 +114,7 @@ message Relation {
|
||||
// 1:未关注 2:已关注 3:被关注 4:互相关注
|
||||
int32 status = 1;
|
||||
// 是否关注
|
||||
int32 isFollow = 2;
|
||||
int32 is_follow = 2;
|
||||
// 是否粉丝
|
||||
int32 isFollowed = 3;
|
||||
int32 is_followed = 3;
|
||||
}
|
||||
@@ -23,9 +23,9 @@ message RegionReply {
|
||||
//
|
||||
message RegionConfig {
|
||||
//
|
||||
string scenesName = 1;
|
||||
string scenes_name = 1;
|
||||
//
|
||||
string scenesType = 2;
|
||||
string scenes_type = 2;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -47,7 +47,7 @@ message RegionInfo {
|
||||
//
|
||||
int32 type = 8;
|
||||
//
|
||||
int32 isBangumi = 9;
|
||||
int32 is_bangumi = 9;
|
||||
//
|
||||
repeated RegionInfo children = 10;
|
||||
//
|
||||
|
||||
@@ -27,7 +27,7 @@ message ArchiveReply {
|
||||
//
|
||||
int32 count = 2;
|
||||
//
|
||||
EpisodicButton episodicButton = 3;
|
||||
EpisodicButton episodic_button = 3;
|
||||
//
|
||||
repeated OrderConfig order = 4;
|
||||
}
|
||||
@@ -37,19 +37,19 @@ message Badge {
|
||||
//
|
||||
string text = 1;
|
||||
//
|
||||
string textColor = 2;
|
||||
string text_color = 2;
|
||||
//
|
||||
string textColorNight = 3;
|
||||
string text_color_night = 3;
|
||||
//
|
||||
string bgColor = 4;
|
||||
string bg_color = 4;
|
||||
//
|
||||
string bgColorNight = 5;
|
||||
string bg_color_night = 5;
|
||||
//
|
||||
string borderColor = 6;
|
||||
string border_color = 6;
|
||||
//
|
||||
string borderColorNight = 7;
|
||||
string border_color_night = 7;
|
||||
//
|
||||
int32 bgStyle = 8;
|
||||
int32 bg_style = 8;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -75,19 +75,19 @@ message BiliSpaceVideo {
|
||||
//
|
||||
bool state = 10;
|
||||
//
|
||||
bool isPopular = 11;
|
||||
bool is_popular = 11;
|
||||
//
|
||||
repeated Badge badges = 12;
|
||||
//
|
||||
string coverRight = 13;
|
||||
string cover_right = 13;
|
||||
//
|
||||
string bvid = 14;
|
||||
//
|
||||
bool isSteins = 15;
|
||||
bool is_steins = 15;
|
||||
//
|
||||
bool isUgcpay = 16;
|
||||
bool is_ugcpay = 16;
|
||||
//
|
||||
bool isCooperation = 17;
|
||||
bool is_cooperation = 17;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -19,7 +19,7 @@ message SplashReq {
|
||||
//
|
||||
string birth = 3;
|
||||
//
|
||||
string adExtra = 4;
|
||||
string ad_extra = 4;
|
||||
//
|
||||
string network = 5;
|
||||
}
|
||||
@@ -27,11 +27,11 @@ message SplashReq {
|
||||
//-响应
|
||||
message SplashReply {
|
||||
//
|
||||
int32 maxTime = 1;
|
||||
int32 max_time = 1;
|
||||
//
|
||||
int32 minInterval = 2;
|
||||
int32 min_interval = 2;
|
||||
//
|
||||
int32 pullInterval = 3;
|
||||
int32 pull_interval = 3;
|
||||
//
|
||||
repeated SplashItem list = 4;
|
||||
//
|
||||
@@ -55,77 +55,77 @@ message SplashItem {
|
||||
//
|
||||
int32 type = 2;
|
||||
//
|
||||
int32 cardType = 3;
|
||||
int32 card_type = 3;
|
||||
//
|
||||
int32 duration = 4;
|
||||
//
|
||||
int64 beginTime = 5;
|
||||
int64 begin_time = 5;
|
||||
//
|
||||
int64 endTime = 6;
|
||||
int64 end_time = 6;
|
||||
//
|
||||
string thumb = 7;
|
||||
//
|
||||
string hash = 8;
|
||||
//
|
||||
string logoUrl = 9;
|
||||
string logo_url = 9;
|
||||
//
|
||||
string logoHash = 10;
|
||||
string logo_hash = 10;
|
||||
//
|
||||
string videoUrl = 11;
|
||||
string video_url = 11;
|
||||
//
|
||||
string videoHash = 12;
|
||||
string video_hash = 12;
|
||||
//
|
||||
int32 videoWidth = 13;
|
||||
int32 video_width = 13;
|
||||
//
|
||||
int32 videoHeight = 14;
|
||||
int32 video_height = 14;
|
||||
//
|
||||
string schema = 15;
|
||||
//
|
||||
string schemaTitle = 16;
|
||||
string schema_title = 16;
|
||||
//
|
||||
string schemaPackageName = 17;
|
||||
string schema_package_name = 17;
|
||||
//
|
||||
repeated string schemaCallupWhiteList = 18;
|
||||
repeated string schema_callup_whiteList = 18;
|
||||
//
|
||||
int32 skip = 19;
|
||||
//
|
||||
string uri = 20;
|
||||
//
|
||||
string uriTitle = 21;
|
||||
string uri_title = 21;
|
||||
//
|
||||
int32 source = 22;
|
||||
//
|
||||
int32 cmMark = 23;
|
||||
int32 cm_mark = 23;
|
||||
//
|
||||
string adCb = 24;
|
||||
string ad_cb = 24;
|
||||
//
|
||||
int64 resourceId = 25;
|
||||
int64 resource_id = 25;
|
||||
//
|
||||
string requestId = 26;
|
||||
string request_id = 26;
|
||||
//
|
||||
string clientIp = 27;
|
||||
string client_ip = 27;
|
||||
//
|
||||
bool isAd = 28;
|
||||
bool is_ad = 28;
|
||||
//
|
||||
bool isAdLoc = 29;
|
||||
bool is_ad_loc = 29;
|
||||
//
|
||||
google.protobuf.Any extra = 30;
|
||||
//
|
||||
int64 cardIndex = 31;
|
||||
int64 card_index = 31;
|
||||
//
|
||||
int64 serverType = 32;
|
||||
int64 server_type = 32;
|
||||
//
|
||||
int64 index = 33;
|
||||
//
|
||||
string clickUrl = 34;
|
||||
string click_url = 34;
|
||||
//
|
||||
string showUrl = 35;
|
||||
string show_url = 35;
|
||||
//
|
||||
int32 timeTarget = 36;
|
||||
int32 time_target = 36;
|
||||
//
|
||||
int32 encryption = 37;
|
||||
//
|
||||
bool enablePreDownload = 38;
|
||||
bool enable_pre_download = 38;
|
||||
//
|
||||
bool enableBackgroundDownload = 39;
|
||||
bool enable_background_download = 39;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user