update 【gRPC API】 proto files
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package bilibili.app.view.v1;
|
package bilibili.app.view.v1;
|
||||||
|
|
||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
@@ -33,7 +34,7 @@ service View {
|
|||||||
rpc CacheView(CacheViewReq) returns (CacheViewReply);
|
rpc CacheView(CacheViewReq) returns (CacheViewReply);
|
||||||
//
|
//
|
||||||
rpc ContinuousPlay(ContinuousPlayReq) returns (ContinuousPlayReply);
|
rpc ContinuousPlay(ContinuousPlayReq) returns (ContinuousPlayReply);
|
||||||
//
|
// 播放页推荐IFS
|
||||||
rpc RelatesFeed(RelatesFeedReq) returns (RelatesFeedReply);
|
rpc RelatesFeed(RelatesFeedReq) returns (RelatesFeedReply);
|
||||||
//
|
//
|
||||||
rpc PremiereArchive(PremiereArchiveReq) returns (PremiereArchiveReply);
|
rpc PremiereArchive(PremiereArchiveReq) returns (PremiereArchiveReply);
|
||||||
@@ -1662,7 +1663,7 @@ message RelateItem {
|
|||||||
string cover = 2;
|
string cover = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 播放页推荐IFS-响应
|
||||||
message RelatesFeedReply {
|
message RelatesFeedReply {
|
||||||
//
|
//
|
||||||
repeated Relate list = 1;
|
repeated Relate list = 1;
|
||||||
@@ -1672,7 +1673,7 @@ message RelatesFeedReply {
|
|||||||
bilibili.pagination.PaginationReply pagination = 3;
|
bilibili.pagination.PaginationReply pagination = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 播放页推荐IFS-请求
|
||||||
message RelatesFeedReq {
|
message RelatesFeedReq {
|
||||||
//
|
//
|
||||||
int64 aid = 1;
|
int64 aid = 1;
|
||||||
|
|||||||
@@ -7,25 +7,27 @@ import "google/protobuf/any.proto";
|
|||||||
// 评论区
|
// 评论区
|
||||||
service Reply {
|
service Reply {
|
||||||
// 主评论列表接口
|
// 主评论列表接口
|
||||||
rpc MainList (MainListReq) returns (MainListReply);
|
rpc MainList(MainListReq) returns (MainListReply);
|
||||||
// 二级评论明细接口
|
// 二级评论明细接口
|
||||||
rpc DetailList (DetailListReq) returns (DetailListReply);
|
rpc DetailList(DetailListReq) returns (DetailListReply);
|
||||||
// 对话评论树接口
|
// 对话评论树接口
|
||||||
rpc DialogList (DialogListReq) returns (DialogListReply);
|
rpc DialogList(DialogListReq) returns (DialogListReply);
|
||||||
// 评论预览接口
|
// 评论预览接口
|
||||||
rpc PreviewList (PreviewListReq) returns (PreviewListReply);
|
rpc PreviewList(PreviewListReq) returns (PreviewListReply);
|
||||||
// 评论搜索item前置发布接口
|
// 评论搜索item前置发布接口
|
||||||
rpc SearchItemPreHook (SearchItemPreHookReq) returns (SearchItemPreHookReply);
|
rpc SearchItemPreHook(SearchItemPreHookReq) returns (SearchItemPreHookReply);
|
||||||
// 评论搜索插入项目接口
|
// 评论搜索插入项目接口
|
||||||
rpc SearchItem (SearchItemReq) returns (SearchItemReply);
|
rpc SearchItem(SearchItemReq) returns (SearchItemReply);
|
||||||
|
// 评论at用户搜索接口
|
||||||
|
rpc AtSearch(AtSearchReq) returns (AtSearchReply);
|
||||||
|
// 查询单条评论接口
|
||||||
|
rpc ReplyInfo(ReplyInfoReq) returns (ReplyInfoReply);
|
||||||
//
|
//
|
||||||
rpc AtSearch (AtSearchReq) returns (AtSearchReply);
|
rpc UserCallback(UserCallbackReq) returns (UserCallbackReply);
|
||||||
//
|
// 评论分享材料接口
|
||||||
rpc ReplyInfo (ReplyInfoReq) returns (ReplyInfoReply);
|
rpc ShareRepliesInfo(ShareRepliesInfoReq) returns (ShareRepliesInfoResp);
|
||||||
//
|
// 评论表情推荐列表接口
|
||||||
rpc UserCallback (UserCallbackReq) returns (UserCallbackReply);
|
rpc SuggestEmotes(SuggestEmotesReq) returns (SuggestEmotesResp);
|
||||||
//
|
|
||||||
rpc ShareRepliesInfo (ShareRepliesInfoReq) returns (ShareRepliesInfoResp);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 活动
|
// 活动
|
||||||
@@ -49,41 +51,41 @@ message ArticleSearchItem {
|
|||||||
repeated string covers = 3;
|
repeated string covers = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 评论at用户搜索组
|
||||||
message AtGroup {
|
message AtGroup {
|
||||||
//
|
// 组类型
|
||||||
int32 group_type = 1;
|
int32 group_type = 1;
|
||||||
//
|
// 组标题
|
||||||
string group_name = 2;
|
string group_name = 2;
|
||||||
//
|
// 评论at用户搜索列表
|
||||||
repeated AtItem items = 3;
|
repeated AtItem items = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 评论at用户搜索条目
|
||||||
message AtItem {
|
message AtItem {
|
||||||
//
|
// 用户mid
|
||||||
int64 mid = 1;
|
int64 mid = 1;
|
||||||
//
|
// 用户名
|
||||||
string name = 2;
|
string name = 2;
|
||||||
//
|
// 用户头像url
|
||||||
string face = 3;
|
string face = 3;
|
||||||
//
|
// 用户是否关注
|
||||||
int32 fans = 4;
|
int32 fans = 4;
|
||||||
//
|
// 用户认证类型
|
||||||
int32 official_verify_type = 5;
|
int32 official_verify_type = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 评论at用户搜索-响应
|
||||||
message AtSearchReply {
|
message AtSearchReply {
|
||||||
//
|
// 评论at用户搜索组
|
||||||
repeated AtGroup groups = 1;
|
repeated AtGroup groups = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 评论at用户搜索-请求
|
||||||
message AtSearchReq {
|
message AtSearchReq {
|
||||||
//
|
//
|
||||||
int64 mid = 1;
|
int64 mid = 1;
|
||||||
//
|
// 关键字
|
||||||
string keyword = 2;
|
string keyword = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -97,7 +99,7 @@ message CM {
|
|||||||
message Content {
|
message Content {
|
||||||
// 评论文本
|
// 评论文本
|
||||||
string message = 1;
|
string message = 1;
|
||||||
// at到的用户信息
|
// 需要渲染的用户转义
|
||||||
map<string, Member> menber = 2;
|
map<string, Member> menber = 2;
|
||||||
// 需要渲染的表情转义
|
// 需要渲染的表情转义
|
||||||
map<string, Emote> emote = 3;
|
map<string, Emote> emote = 3;
|
||||||
@@ -107,6 +109,10 @@ message Content {
|
|||||||
map<string, Url> url = 5;
|
map<string, Url> url = 5;
|
||||||
// 投票信息
|
// 投票信息
|
||||||
Vote vote = 6;
|
Vote vote = 6;
|
||||||
|
// at到的用户mid列表
|
||||||
|
map<string, int64> at_name_to_mid = 7;
|
||||||
|
// 富文本
|
||||||
|
RichText rich_text = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 页面游标回复
|
// 页面游标回复
|
||||||
@@ -154,7 +160,7 @@ message DetailListReply {
|
|||||||
message DetailListReq {
|
message DetailListReq {
|
||||||
// 目标评论区id
|
// 目标评论区id
|
||||||
int64 oid = 1;
|
int64 oid = 1;
|
||||||
// 目标评论区类型
|
// 目标评论区业务type
|
||||||
int64 type = 2;
|
int64 type = 2;
|
||||||
// 根评论rpid
|
// 根评论rpid
|
||||||
int64 root = 3;
|
int64 root = 3;
|
||||||
@@ -168,9 +174,9 @@ message DetailListReq {
|
|||||||
|
|
||||||
// 来源标识
|
// 来源标识
|
||||||
enum DetailListScene {
|
enum DetailListScene {
|
||||||
REPLY = 0; // 评论区展开
|
REPLY = 0; // 评论区展开
|
||||||
MSG_FEED = 1; // 回复消息推送
|
MSG_FEED = 1; // 回复消息推送
|
||||||
NOTIFY = 2; //
|
NOTIFY = 2; //
|
||||||
}
|
}
|
||||||
|
|
||||||
// 对话评论树-响应
|
// 对话评论树-响应
|
||||||
@@ -189,7 +195,7 @@ message DialogListReply {
|
|||||||
message DialogListReq {
|
message DialogListReq {
|
||||||
// 目标评论区id
|
// 目标评论区id
|
||||||
int64 oid = 1;
|
int64 oid = 1;
|
||||||
// 目标评论区类型
|
// 目标评论区业务type
|
||||||
int64 type = 2;
|
int64 type = 2;
|
||||||
// 根评论rpid
|
// 根评论rpid
|
||||||
int64 root = 3;
|
int64 root = 3;
|
||||||
@@ -222,6 +228,8 @@ message Emote {
|
|||||||
int64 package_id = 6;
|
int64 package_id = 6;
|
||||||
//
|
//
|
||||||
string gif_url = 7;
|
string gif_url = 7;
|
||||||
|
//
|
||||||
|
string text = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 商品项目
|
// 商品项目
|
||||||
@@ -318,16 +326,20 @@ message MainListReply {
|
|||||||
message MainListReq {
|
message MainListReq {
|
||||||
// 目标评论区id
|
// 目标评论区id
|
||||||
int64 oid = 1;
|
int64 oid = 1;
|
||||||
// 目标评论区类型
|
// 目标评论区业务type
|
||||||
int64 type = 2;
|
int64 type = 2;
|
||||||
// 页面游标
|
// 页面游标
|
||||||
CursorReq cursor = 3;
|
CursorReq cursor = 3;
|
||||||
// 扩展数据json
|
// 扩展数据json
|
||||||
string extra = 4;
|
string extra = 4;
|
||||||
// 广告扩展json
|
// 广告扩展
|
||||||
string ad_extra = 5;
|
string ad_extra = 5;
|
||||||
// 目标评论rpid
|
// 目标评论rpid
|
||||||
int64 rpid = 6;
|
int64 rpid = 6;
|
||||||
|
//
|
||||||
|
int64 seek_rpid = 7;
|
||||||
|
// 评论区筛选类型 取值可为: ["全部" "粉丝评论" "笔记长评"]
|
||||||
|
string filter_tag_name = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 用户信息
|
// 用户信息
|
||||||
@@ -406,13 +418,13 @@ message Member {
|
|||||||
string vip_label_text = 23;
|
string vip_label_text = 23;
|
||||||
// 会员标颜色
|
// 会员标颜色
|
||||||
string vip_label_theme = 24;
|
string vip_label_theme = 24;
|
||||||
//
|
// 粉丝勋章底色
|
||||||
int64 fans_medal_color_end = 25;
|
int64 fans_medal_color_end = 25;
|
||||||
//
|
// 粉丝勋章边框颜色
|
||||||
int64 fans_medal_color_border = 26;
|
int64 fans_medal_color_border = 26;
|
||||||
//
|
// 粉丝勋章名颜色
|
||||||
int64 fans_medal_color_name = 27;
|
int64 fans_medal_color_name = 27;
|
||||||
//
|
// 粉丝勋章等级颜色
|
||||||
int64 fans_medal_color_level = 28;
|
int64 fans_medal_color_level = 28;
|
||||||
//
|
//
|
||||||
int64 fans_guard_level = 29;
|
int64 fans_guard_level = 29;
|
||||||
@@ -430,6 +442,156 @@ message Member {
|
|||||||
string fans_honor_icon = 35;
|
string fans_honor_icon = 35;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 用户信息V2
|
||||||
|
message MemberV2 {
|
||||||
|
// 基本信息
|
||||||
|
message Basic {
|
||||||
|
// 用户mid
|
||||||
|
int64 mid = 1;
|
||||||
|
// 昵称
|
||||||
|
string name = 2;
|
||||||
|
// 性别
|
||||||
|
string sex = 3;
|
||||||
|
// 头像url
|
||||||
|
string face = 4;
|
||||||
|
// 等级
|
||||||
|
int64 level = 5;
|
||||||
|
}
|
||||||
|
// 认证
|
||||||
|
message Official {
|
||||||
|
// 认证类型
|
||||||
|
int64 verify_type = 1;
|
||||||
|
}
|
||||||
|
// 大会员
|
||||||
|
message Vip {
|
||||||
|
// 会员类型
|
||||||
|
// 0:不是大会员 1:月度会员 2:年度大会员
|
||||||
|
int64 type = 1;
|
||||||
|
// 会员状态
|
||||||
|
int64 status = 2;
|
||||||
|
// 会员样式
|
||||||
|
int64 theme_type = 3;
|
||||||
|
// 会员铭牌样式url
|
||||||
|
string label_path = 4;
|
||||||
|
//
|
||||||
|
string nickname_color = 5;
|
||||||
|
//
|
||||||
|
int32 avatar_subscript = 6;
|
||||||
|
//
|
||||||
|
string label_text = 7;
|
||||||
|
//
|
||||||
|
string vip_label_theme = 8;
|
||||||
|
}
|
||||||
|
// 装扮
|
||||||
|
message Garb {
|
||||||
|
// 头像框url
|
||||||
|
string pendant_image = 1;
|
||||||
|
// 装扮卡url
|
||||||
|
string card_image = 2;
|
||||||
|
// 有关注按钮时的装扮卡url
|
||||||
|
string card_image_with_focus = 3;
|
||||||
|
// 专属装扮页面url
|
||||||
|
string card_jump_url = 4;
|
||||||
|
// 专属装扮id
|
||||||
|
string card_number = 5;
|
||||||
|
// 专属装扮id显示颜色
|
||||||
|
string card_fan_color = 6;
|
||||||
|
// 是否为专属装扮卡
|
||||||
|
bool card_is_fan = 7;
|
||||||
|
}
|
||||||
|
// 粉丝勋章
|
||||||
|
message Medal {
|
||||||
|
// 粉丝勋章名
|
||||||
|
string name = 1;
|
||||||
|
// 粉丝勋章等级
|
||||||
|
int64 level = 2;
|
||||||
|
// 粉丝勋章显示颜色
|
||||||
|
int64 color_start = 3;
|
||||||
|
// 粉丝勋章底色
|
||||||
|
int64 color_end = 4;
|
||||||
|
// 粉丝勋章边框颜色
|
||||||
|
int64 color_border = 5;
|
||||||
|
// 粉丝勋章名颜色
|
||||||
|
int64 color_name = 6;
|
||||||
|
// 粉丝勋章等级颜色
|
||||||
|
int64 color_level = 7;
|
||||||
|
//
|
||||||
|
int64 guard_level = 8;
|
||||||
|
//
|
||||||
|
string first_icon = 9;
|
||||||
|
//
|
||||||
|
int64 level_bg_color = 11;
|
||||||
|
}
|
||||||
|
//
|
||||||
|
enum RegionType {
|
||||||
|
DEFAULT = 0; //
|
||||||
|
MAINLAND = 1; //
|
||||||
|
GAT = 2; //
|
||||||
|
}
|
||||||
|
//
|
||||||
|
message Region {
|
||||||
|
//
|
||||||
|
RegionType type = 1;
|
||||||
|
//
|
||||||
|
string icon = 2;
|
||||||
|
//
|
||||||
|
int32 show_status = 3;
|
||||||
|
}
|
||||||
|
//
|
||||||
|
message Interaction {
|
||||||
|
//
|
||||||
|
string itype = 1;
|
||||||
|
//
|
||||||
|
string metadata_url = 2;
|
||||||
|
//
|
||||||
|
string nft_id = 3;
|
||||||
|
//
|
||||||
|
Region region = 4;
|
||||||
|
|
||||||
|
}
|
||||||
|
// NFT
|
||||||
|
message Nft {
|
||||||
|
//
|
||||||
|
int32 face = 1;
|
||||||
|
//
|
||||||
|
Interaction interaction = 2;
|
||||||
|
}
|
||||||
|
// 硬核会员
|
||||||
|
message Senior {
|
||||||
|
// 是否为硬核会员
|
||||||
|
int32 is_senior_member = 1;
|
||||||
|
}
|
||||||
|
// 契约
|
||||||
|
message Contractor {
|
||||||
|
//
|
||||||
|
bool is_contractor = 1;
|
||||||
|
//
|
||||||
|
string contract_desc = 2;
|
||||||
|
}
|
||||||
|
//
|
||||||
|
enum ShowStatus {
|
||||||
|
SHOWDEFAULT = 0; //
|
||||||
|
ZOOMINMAINLAND = 1; //
|
||||||
|
RAW = 2; //
|
||||||
|
}
|
||||||
|
// 基本信息
|
||||||
|
Basic basic = 1;
|
||||||
|
// 认证信息
|
||||||
|
Official official = 2;
|
||||||
|
// 大会员信息
|
||||||
|
Vip vip = 3;
|
||||||
|
// 装扮信息
|
||||||
|
Garb garb = 4;
|
||||||
|
// 粉丝勋章信息
|
||||||
|
Medal medal = 5;
|
||||||
|
// NFT信息
|
||||||
|
Nft nft = 6;
|
||||||
|
// 硬核会员信息
|
||||||
|
Senior senior = 7;
|
||||||
|
// 契约信息
|
||||||
|
Contractor contractor = 8;
|
||||||
|
}
|
||||||
|
|
||||||
// 排序方式
|
// 排序方式
|
||||||
enum Mode {
|
enum Mode {
|
||||||
DEFAULT = 0; //
|
DEFAULT = 0; //
|
||||||
@@ -504,7 +666,7 @@ message PreviewListReply {
|
|||||||
message PreviewListReq {
|
message PreviewListReq {
|
||||||
// 目标评论区id
|
// 目标评论区id
|
||||||
int64 oid = 1;
|
int64 oid = 1;
|
||||||
// 目标评论区类型
|
// 目标评论区业务type
|
||||||
int64 type = 2;
|
int64 type = 2;
|
||||||
// 页面游标
|
// 页面游标
|
||||||
CursorReq cursor = 3;
|
CursorReq cursor = 3;
|
||||||
@@ -538,30 +700,34 @@ message QoeScoreItem {
|
|||||||
float score = 3;
|
float score = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 评论条目标签信息
|
||||||
message ReplyCardLabel {
|
message ReplyCardLabel {
|
||||||
//
|
// 标签文本
|
||||||
string text_content = 1;
|
string text_content = 1;
|
||||||
//
|
// 文本颜色
|
||||||
string text_color_day = 2;
|
string text_color_day = 2;
|
||||||
//
|
// 文本颜色夜间
|
||||||
string text_color_night = 3;
|
string text_color_night = 3;
|
||||||
//
|
// 标签颜色
|
||||||
string label_color_day = 4;
|
string label_color_day = 4;
|
||||||
//
|
// 标签颜色夜间
|
||||||
string label_color_night = 5;
|
string label_color_night = 5;
|
||||||
//
|
//
|
||||||
string image = 6;
|
string image = 6;
|
||||||
//
|
//
|
||||||
int32 type = 7;
|
int32 type = 7;
|
||||||
//
|
// 背景url
|
||||||
string background = 8;
|
string background = 8;
|
||||||
//
|
// 背景宽
|
||||||
double background_width = 9;
|
double background_width = 9;
|
||||||
//
|
// 背景高
|
||||||
double background_height = 10;
|
double background_height = 10;
|
||||||
//
|
// 点击跳转url
|
||||||
string jump_url = 11;
|
string jump_url = 11;
|
||||||
|
//
|
||||||
|
int64 effect = 12;
|
||||||
|
//
|
||||||
|
int64 effect_start_time = 13;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 评论条目控制字段
|
// 评论条目控制字段
|
||||||
@@ -603,19 +769,19 @@ message ReplyControl {
|
|||||||
bool is_contractor = 17;
|
bool is_contractor = 17;
|
||||||
// 是否是笔记评论
|
// 是否是笔记评论
|
||||||
bool is_note = 18;
|
bool is_note = 18;
|
||||||
//
|
// 评论条目标签列表
|
||||||
repeated ReplyCardLabel card_labels = 19;
|
repeated ReplyCardLabel card_labels = 19;
|
||||||
//
|
// 子评论数文案 "共x条回复"
|
||||||
string sub_reply_entry_text = 20;
|
string sub_reply_entry_text = 20;
|
||||||
//
|
// 子评论数文案 "相关回复共x条"
|
||||||
string sub_reply_title_text = 21;
|
string sub_reply_title_text = 21;
|
||||||
//
|
//
|
||||||
string contract_desc = 22;
|
string contract_desc = 22;
|
||||||
//
|
// 发布时间文案 "x天前发布"
|
||||||
string time_desc = 23;
|
string time_desc = 23;
|
||||||
//
|
//
|
||||||
string biz_scene = 24;
|
string biz_scene = 24;
|
||||||
//
|
// IP属地信息 "IP属地:xxx"
|
||||||
string location = 25;
|
string location = 25;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -661,22 +827,45 @@ message ReplyInfo {
|
|||||||
Member member = 13;
|
Member member = 13;
|
||||||
// 评论控制字段
|
// 评论控制字段
|
||||||
ReplyControl reply_control = 14;
|
ReplyControl reply_control = 14;
|
||||||
|
// 发布者信息V2
|
||||||
|
MemberV2 member_v2 = 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 查询单条评论-响应
|
||||||
message ReplyInfoReply {
|
message ReplyInfoReply {
|
||||||
//
|
// 评论条目信息
|
||||||
ReplyInfo reply = 1;
|
ReplyInfo reply = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 查询单条评论-请求
|
||||||
message ReplyInfoReq {
|
message ReplyInfoReq {
|
||||||
//
|
// 评论rpid
|
||||||
int64 rpid = 1;
|
int64 rpid = 1;
|
||||||
//
|
//
|
||||||
int32 scene = 2;
|
int32 scene = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 富文本
|
||||||
|
message RichText {
|
||||||
|
// 富文本类型
|
||||||
|
oneof item {
|
||||||
|
// 笔记
|
||||||
|
RichTextNote note = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 笔记
|
||||||
|
message RichTextNote {
|
||||||
|
//
|
||||||
|
string summary = 1;
|
||||||
|
//
|
||||||
|
repeated string images = 2;
|
||||||
|
//
|
||||||
|
string click_url = 3;
|
||||||
|
//
|
||||||
|
string last_mtime_text = 4;
|
||||||
|
}
|
||||||
|
|
||||||
// 评论搜索插入项目
|
// 评论搜索插入项目
|
||||||
message SearchItem {
|
message SearchItem {
|
||||||
//
|
//
|
||||||
@@ -722,7 +911,7 @@ message SearchItemPreHookReply {
|
|||||||
message SearchItemPreHookReq {
|
message SearchItemPreHookReq {
|
||||||
// 目标评论区id
|
// 目标评论区id
|
||||||
int64 oid = 1;
|
int64 oid = 1;
|
||||||
// 目标评论区类型
|
// 目标评论区业务type
|
||||||
int64 type = 2;
|
int64 type = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -744,22 +933,22 @@ message SearchItemReplyExtraInfo {
|
|||||||
|
|
||||||
// 评论搜索插入项目-请求
|
// 评论搜索插入项目-请求
|
||||||
message SearchItemReq {
|
message SearchItemReq {
|
||||||
//页面游标
|
// 页面游标
|
||||||
SearchItemCursorReq cursor = 1;
|
SearchItemCursorReq cursor = 1;
|
||||||
//目标评论区id
|
// 目标评论区id
|
||||||
int64 oid = 2;
|
int64 oid = 2;
|
||||||
//评论区类型
|
// 目标评论区业务type
|
||||||
int64 type = 3;
|
int64 type = 3;
|
||||||
//搜索关键词
|
// 搜索关键词
|
||||||
string keyword = 4;
|
string keyword = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
enum SearchItemType {
|
enum SearchItemType {
|
||||||
DEFAULT_ITEM_TYPE = 0; //
|
DEFAULT_ITEM_TYPE = 0; //
|
||||||
GOODS = 1; //
|
GOODS = 1; //
|
||||||
VIDEO = 2; //
|
VIDEO = 2; //
|
||||||
ARTICLE = 3; //
|
ARTICLE = 3; //
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -768,34 +957,36 @@ enum SearchItemVideoSubType {
|
|||||||
PGC = 1; //
|
PGC = 1; //
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 评论分享材料-请求
|
||||||
message ShareRepliesInfoReq {
|
message ShareRepliesInfoReq {
|
||||||
//
|
// 评论rpid列表
|
||||||
|
repeated int64 rpids = 1;
|
||||||
|
// 目标评论区id
|
||||||
int64 oid = 2;
|
int64 oid = 2;
|
||||||
//
|
// 目标评论区业务type
|
||||||
int64 type = 3;
|
int64 type = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 评论分享材料-响应
|
||||||
message ShareRepliesInfoResp {
|
message ShareRepliesInfoResp {
|
||||||
//
|
//
|
||||||
message ShareExtra {
|
message ShareExtra {
|
||||||
//
|
//
|
||||||
bool is_pgc = 1;
|
bool is_pgc = 1;
|
||||||
}
|
}
|
||||||
//
|
// 评论分享条目列表
|
||||||
repeated ShareReplyInfo infos = 1;
|
repeated ShareReplyInfo infos = 1;
|
||||||
//
|
// 源内容标题
|
||||||
string from_title = 2;
|
string from_title = 2;
|
||||||
//
|
// 源内容UP主
|
||||||
string from_up = 3;
|
string from_up = 3;
|
||||||
//
|
// 源内容封面url
|
||||||
string from_pic = 4;
|
string from_pic = 4;
|
||||||
//
|
// 源内容页面url
|
||||||
string url = 5;
|
string url = 5;
|
||||||
//
|
// logo url
|
||||||
string slogan_pic = 6;
|
string slogan_pic = 6;
|
||||||
//
|
// 标语
|
||||||
string slogan_text = 7;
|
string slogan_text = 7;
|
||||||
//
|
//
|
||||||
ShareReplyTopic topic = 8;
|
ShareReplyTopic topic = 8;
|
||||||
@@ -803,17 +994,17 @@ message ShareRepliesInfoResp {
|
|||||||
ShareExtra extra = 9;
|
ShareExtra extra = 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 评论分享条目信息
|
||||||
message ShareReplyInfo {
|
message ShareReplyInfo {
|
||||||
//
|
// 用户信息
|
||||||
Member member = 1;
|
Member member = 1;
|
||||||
//
|
// 评论主体信息
|
||||||
Content content = 2;
|
Content content = 2;
|
||||||
//
|
// 分享标题(评论发布者昵称)
|
||||||
string title = 3;
|
string title = 3;
|
||||||
//
|
// 分享副标题 "发表了评论"
|
||||||
string sub_title = 4;
|
string sub_title = 4;
|
||||||
//
|
// 荣誉信息文案 "获得了up主点赞"
|
||||||
string achievement_text = 5;
|
string achievement_text = 5;
|
||||||
//
|
//
|
||||||
string label_url = 6;
|
string label_url = 6;
|
||||||
@@ -829,6 +1020,13 @@ message ShareReplyTopic {
|
|||||||
|
|
||||||
// 评论区控制字段
|
// 评论区控制字段
|
||||||
message SubjectControl {
|
message SubjectControl {
|
||||||
|
// 评论区筛选类型
|
||||||
|
message FilterTag {
|
||||||
|
// 类型名
|
||||||
|
string name = 1;
|
||||||
|
//
|
||||||
|
string event_id = 2;
|
||||||
|
}
|
||||||
// UP主mid
|
// UP主mid
|
||||||
int64 up_mid = 1;
|
int64 up_mid = 1;
|
||||||
// 自己是否为协管
|
// 自己是否为协管
|
||||||
@@ -865,10 +1063,32 @@ message SubjectControl {
|
|||||||
string title = 17;
|
string title = 17;
|
||||||
// 离开态输入框的文案
|
// 离开态输入框的文案
|
||||||
string giveup_text = 18;
|
string giveup_text = 18;
|
||||||
//
|
// 是否允许笔记
|
||||||
bool has_note_access = 19;
|
bool has_note_access = 19;
|
||||||
//
|
//
|
||||||
bool disable_jump_emote = 20;
|
bool disable_jump_emote = 20;
|
||||||
|
//
|
||||||
|
string empty_background_text_plain = 21;
|
||||||
|
//
|
||||||
|
string empty_background_text_highlight = 22;
|
||||||
|
//
|
||||||
|
string empty_background_uri = 23;
|
||||||
|
// 评论区筛选类型列表
|
||||||
|
repeated FilterTag support_filter_tags = 24;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 评论表情推荐列表-请求
|
||||||
|
message SuggestEmotesReq {
|
||||||
|
// 目标评论区id
|
||||||
|
int64 oid = 1;
|
||||||
|
// 目标评论区业务type
|
||||||
|
int64 type = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 评论表情推荐列表-响应
|
||||||
|
message SuggestEmotesResp {
|
||||||
|
// 表情推荐列表
|
||||||
|
repeated Emote emotes = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 话题项
|
// 话题项
|
||||||
@@ -891,7 +1111,7 @@ message UGCVideoSearchItem {
|
|||||||
string cover = 4;
|
string cover = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 精选评论
|
||||||
message UpSelection {
|
message UpSelection {
|
||||||
// 待审评论数
|
// 待审评论数
|
||||||
int64 pending_count = 1;
|
int64 pending_count = 1;
|
||||||
@@ -901,7 +1121,7 @@ message UpSelection {
|
|||||||
|
|
||||||
// 超链项
|
// 超链项
|
||||||
message Url {
|
message Url {
|
||||||
//
|
// 扩展字段
|
||||||
message Extra {
|
message Extra {
|
||||||
//
|
//
|
||||||
int64 goods_item_id = 1;
|
int64 goods_item_id = 1;
|
||||||
@@ -909,7 +1129,7 @@ message Url {
|
|||||||
string goods_prefetched_cache = 2;
|
string goods_prefetched_cache = 2;
|
||||||
//
|
//
|
||||||
int32 goods_show_type = 3;
|
int32 goods_show_type = 3;
|
||||||
//
|
// 热词搜索
|
||||||
bool is_word_search = 4;
|
bool is_word_search = 4;
|
||||||
//
|
//
|
||||||
int64 goods_cm_control = 5;
|
int64 goods_cm_control = 5;
|
||||||
@@ -920,7 +1140,7 @@ message Url {
|
|||||||
int64 state = 2;
|
int64 state = 2;
|
||||||
// 图标url
|
// 图标url
|
||||||
string prefix_icon = 3;
|
string prefix_icon = 3;
|
||||||
//
|
// 客户端内跳转uri
|
||||||
string app_url_schema = 4;
|
string app_url_schema = 4;
|
||||||
//
|
//
|
||||||
string app_name = 5;
|
string app_name = 5;
|
||||||
@@ -928,17 +1148,17 @@ message Url {
|
|||||||
string app_package_name = 6;
|
string app_package_name = 6;
|
||||||
// 上报id
|
// 上报id
|
||||||
string click_report = 7;
|
string click_report = 7;
|
||||||
//
|
// 是否半屏打开
|
||||||
bool is_half_screen = 8;
|
bool is_half_screen = 8;
|
||||||
//
|
//
|
||||||
string exposure_report = 9;
|
string exposure_report = 9;
|
||||||
//
|
// 扩展字段
|
||||||
Extra extra = 10;
|
Extra extra = 10;
|
||||||
//
|
// 是否下划线
|
||||||
bool underline = 11;
|
bool underline = 11;
|
||||||
//
|
//
|
||||||
bool match_once = 12;
|
bool match_once = 12;
|
||||||
//
|
// 网页url
|
||||||
string pc_url = 13;
|
string pc_url = 13;
|
||||||
//
|
//
|
||||||
int32 icon_position = 14;
|
int32 icon_position = 14;
|
||||||
@@ -950,9 +1170,7 @@ enum UserCallbackAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message UserCallbackReply {
|
message UserCallbackReply {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
message UserCallbackReq {
|
message UserCallbackReq {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package bilibili.pagination;
|
package bilibili.pagination;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
2310
grpc_api/bilibili/polymer/app/search/v1/search.proto
Normal file
2310
grpc_api/bilibili/polymer/app/search/v1/search.proto
Normal file
File diff suppressed because it is too large
Load Diff
96
grpc_api/bilibili/polymer/community/govern/v1/govern.proto
Normal file
96
grpc_api/bilibili/polymer/community/govern/v1/govern.proto
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bilibili.polymer.app.govern.v1;
|
||||||
|
|
||||||
|
// 反骚扰
|
||||||
|
service AntiHarassmentService {
|
||||||
|
//
|
||||||
|
rpc StoreAntiHarassmentSettings(StoreAntiHarassmentSettingsReq) returns (StoreAntiHarassmentSettingsRsp);
|
||||||
|
//
|
||||||
|
rpc LoadAntiHarassmentSettings(LoadAntiHarassmentSettingsReq) returns (LoadAntiHarassmentSettingsRsp);
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message AntiHarassmentInfo {
|
||||||
|
//
|
||||||
|
int32 limit = 1;
|
||||||
|
//
|
||||||
|
int32 follow_time_limit_second = 2;
|
||||||
|
//
|
||||||
|
int64 expire_time = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
enum AntiHarassmentLimit {
|
||||||
|
DefaultLimit = 0; //
|
||||||
|
FollowLimit = 1; //
|
||||||
|
ReFollowLimit = 2; //
|
||||||
|
TwoWayFollow = 3; //
|
||||||
|
AllLimit = 4; //
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message AntiHarassmentSetting {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
//
|
||||||
|
bool auto_limit = 2;
|
||||||
|
//
|
||||||
|
AntiHarassmentInfo im = 3;
|
||||||
|
//
|
||||||
|
AntiHarassmentInfo reply = 4;
|
||||||
|
//
|
||||||
|
AntiHarassmentInfo dm = 5;
|
||||||
|
//
|
||||||
|
AntiHarassmentInfo reply_me = 6;
|
||||||
|
//
|
||||||
|
AntiHarassmentInfo like_me = 7;
|
||||||
|
//
|
||||||
|
AntiHarassmentInfo at_me = 8;
|
||||||
|
//
|
||||||
|
int64 auto_limit_expire_time = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
enum BizType {
|
||||||
|
InvalidBizType = 0; //
|
||||||
|
Im = 1; //
|
||||||
|
Dm = 2; //
|
||||||
|
Reply = 3; //
|
||||||
|
ReplyMe = 4; //
|
||||||
|
LikeMe = 5; //
|
||||||
|
AtMe = 6; //
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message LoadAntiHarassmentSettingsReq {
|
||||||
|
//
|
||||||
|
int32 biz_type = 1;
|
||||||
|
//
|
||||||
|
int64 recv_mid = 2;
|
||||||
|
//
|
||||||
|
int64 send_mid = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message LoadAntiHarassmentSettingsRsp {
|
||||||
|
//
|
||||||
|
bool anti_harassment_ret = 1;
|
||||||
|
//
|
||||||
|
AntiHarassmentSetting anti_harassment_setting = 2;
|
||||||
|
//
|
||||||
|
int32 show_window = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message StoreAntiHarassmentSettingsReq {
|
||||||
|
//
|
||||||
|
int32 biz_type = 1;
|
||||||
|
//
|
||||||
|
int64 mid = 2;
|
||||||
|
//
|
||||||
|
AntiHarassmentSetting anti_harassment_setting = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message StoreAntiHarassmentSettingsRsp {}
|
||||||
@@ -4,10 +4,26 @@ package bilibili.polymer.contract;
|
|||||||
|
|
||||||
import "google/protobuf/empty.proto";
|
import "google/protobuf/empty.proto";
|
||||||
|
|
||||||
//
|
// 契约
|
||||||
service Contract {
|
service Contract {
|
||||||
//
|
//
|
||||||
rpc AddContract(AddContractReq) returns (google.protobuf.Empty);
|
rpc AddContract(AddContractReq) returns (google.protobuf.Empty);
|
||||||
|
//
|
||||||
|
rpc AddContractV2(AddContractReq) returns (AddContractReply);
|
||||||
|
//
|
||||||
|
rpc ContractConfig(ContractConfigReq) returns (ContractConfigReply);
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message AddContractReply {
|
||||||
|
//
|
||||||
|
bool allow_message = 1;
|
||||||
|
//
|
||||||
|
bool allow_reply = 2;
|
||||||
|
//
|
||||||
|
string input_text = 3;
|
||||||
|
//
|
||||||
|
string input_title = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -20,6 +36,8 @@ message AddContractReq {
|
|||||||
int64 up_mid = 3;
|
int64 up_mid = 3;
|
||||||
//
|
//
|
||||||
int64 aid = 4;
|
int64 aid = 4;
|
||||||
|
//
|
||||||
|
int32 source = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -40,3 +58,34 @@ message CommonReq {
|
|||||||
string spmid = 7;
|
string spmid = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message ContractCard {
|
||||||
|
//
|
||||||
|
string title = 1;
|
||||||
|
//
|
||||||
|
string sub_title = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message ContractConfigReply {
|
||||||
|
//
|
||||||
|
int32 is_follow_display = 1;
|
||||||
|
//
|
||||||
|
int32 is_triple_display = 2;
|
||||||
|
//
|
||||||
|
ContractCard contract_card = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message ContractConfigReq {
|
||||||
|
//
|
||||||
|
CommonReq common = 1;
|
||||||
|
//
|
||||||
|
int64 mid = 2;
|
||||||
|
//
|
||||||
|
int64 up_mid = 3;
|
||||||
|
//
|
||||||
|
int64 aid = 4;
|
||||||
|
//
|
||||||
|
int32 source = 5;
|
||||||
|
}
|
||||||
|
|||||||
@@ -41,6 +41,4 @@ message FavoriteTabReply {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message FavoriteTabReq {
|
message FavoriteTabReq {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ message CommandDm {
|
|||||||
string extra = 9;
|
string extra = 9;
|
||||||
// 弹幕id str类型
|
// 弹幕id str类型
|
||||||
string idStr = 10;
|
string idStr = 10;
|
||||||
|
//
|
||||||
|
int64 display = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ott互动弹幕条目信息
|
// ott互动弹幕条目信息
|
||||||
@@ -119,8 +121,10 @@ message DanmakuElem {
|
|||||||
|
|
||||||
// 弹幕ai云屏蔽条目
|
// 弹幕ai云屏蔽条目
|
||||||
message DanmakuFlag {
|
message DanmakuFlag {
|
||||||
int64 dmid = 1; // 弹幕dmid
|
// 弹幕dmid
|
||||||
uint32 flag = 2; // 评分
|
int64 dmid = 1;
|
||||||
|
// 评分
|
||||||
|
uint32 flag = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 云屏蔽配置信息
|
// 云屏蔽配置信息
|
||||||
@@ -315,6 +319,8 @@ message TvViewProgressReq {
|
|||||||
int64 from = 9;
|
int64 from = 9;
|
||||||
//
|
//
|
||||||
string guest_access_key = 10;
|
string guest_access_key = 10;
|
||||||
|
//
|
||||||
|
int64 epid = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 字幕作者信息
|
// 字幕作者信息
|
||||||
|
|||||||
@@ -377,6 +377,10 @@ message Arc {
|
|||||||
int64 season_id = 29;
|
int64 season_id = 29;
|
||||||
//
|
//
|
||||||
repeated DescV2 desc_v2 = 30;
|
repeated DescV2 desc_v2 = 30;
|
||||||
|
//
|
||||||
|
bool is_chargeable_season = 31;
|
||||||
|
//
|
||||||
|
bool is_blooper = 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -523,9 +527,7 @@ message NameplateInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message NoReply {
|
message NoReply {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
message OfficialInfo {
|
message OfficialInfo {
|
||||||
@@ -557,10 +559,10 @@ message OperationRelate {
|
|||||||
|
|
||||||
//
|
//
|
||||||
enum OrderType {
|
enum OrderType {
|
||||||
TypeNone = 0; //
|
TypeNone = 0; //
|
||||||
TypeOrderActivity = 1; //
|
TypeOrderActivity = 1; //
|
||||||
TypeFavSeason = 2; //
|
TypeFavSeason = 2; //
|
||||||
TypeClick = 3; //
|
TypeClick = 3; //
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -597,6 +599,12 @@ message PendantInfo {
|
|||||||
int64 expire = 4;
|
int64 expire = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message ReasonStyle {
|
||||||
|
//
|
||||||
|
string text = 1;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message Relate {
|
message Relate {
|
||||||
//
|
//
|
||||||
@@ -744,8 +752,8 @@ message ReplyEmoteMeta {
|
|||||||
//
|
//
|
||||||
enum ReplyEmoteMetaSize {
|
enum ReplyEmoteMetaSize {
|
||||||
EMOTE_META_SIZE_UNSPECIFIED = 0; //
|
EMOTE_META_SIZE_UNSPECIFIED = 0; //
|
||||||
EMOTE_META_SIZE_SMALL = 1; //
|
EMOTE_META_SIZE_SMALL = 1; //
|
||||||
EMOTE_META_SIZE_BIG = 2; //
|
EMOTE_META_SIZE_BIG = 2; //
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -952,6 +960,10 @@ message Rights {
|
|||||||
int32 is_cooperation = 10;
|
int32 is_cooperation = 10;
|
||||||
//
|
//
|
||||||
int32 ugc_pay_preview = 11;
|
int32 ugc_pay_preview = 11;
|
||||||
|
//
|
||||||
|
int32 arc_pay = 12;
|
||||||
|
//
|
||||||
|
int32 free_watch = 13;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -976,6 +988,8 @@ message SeasonEpisode {
|
|||||||
Page page = 9;
|
Page page = 9;
|
||||||
//
|
//
|
||||||
string bvid = 10;
|
string bvid = 10;
|
||||||
|
//
|
||||||
|
ReasonStyle badge_style = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -1188,6 +1202,8 @@ message UGCSeason {
|
|||||||
int64 ep_count = 10;
|
int64 ep_count = 10;
|
||||||
//
|
//
|
||||||
int64 season_type = 11;
|
int64 season_type = 11;
|
||||||
|
//
|
||||||
|
bool is_pay_season = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
282
grpc_api/bilibili/web/space/v1/space.proto
Normal file
282
grpc_api/bilibili/web/space/v1/space.proto
Normal file
@@ -0,0 +1,282 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bilibili.web.space.v1;
|
||||||
|
|
||||||
|
//
|
||||||
|
message NoReply {}
|
||||||
|
|
||||||
|
//
|
||||||
|
message OfficialReply {
|
||||||
|
//
|
||||||
|
int64 id = 1;
|
||||||
|
//
|
||||||
|
int64 uid = 2;
|
||||||
|
//
|
||||||
|
string name = 3;
|
||||||
|
//
|
||||||
|
string icon = 4;
|
||||||
|
//
|
||||||
|
string scheme = 5;
|
||||||
|
//
|
||||||
|
string rcmd = 6;
|
||||||
|
//
|
||||||
|
string ios_url = 7;
|
||||||
|
//
|
||||||
|
string android_url = 8;
|
||||||
|
//
|
||||||
|
string button = 9;
|
||||||
|
//
|
||||||
|
string deleted = 10;
|
||||||
|
//
|
||||||
|
int64 mtime = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message OfficialRequest {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message PhotoMall {
|
||||||
|
//
|
||||||
|
int64 id = 1;
|
||||||
|
//
|
||||||
|
string name = 2;
|
||||||
|
//
|
||||||
|
string img = 3;
|
||||||
|
//
|
||||||
|
string night_img = 4;
|
||||||
|
//
|
||||||
|
int64 is_activated = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message PhotoMallListReply {
|
||||||
|
//
|
||||||
|
repeated PhotoMall list = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message PhotoMallListReq {
|
||||||
|
//
|
||||||
|
string mobiapp = 1;
|
||||||
|
//
|
||||||
|
int64 mid = 2;
|
||||||
|
//
|
||||||
|
string device = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message PrivacyReply {
|
||||||
|
//
|
||||||
|
map<string, int64> privacy = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message PrivacyRequest {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message SetTopPhotoReq {
|
||||||
|
//
|
||||||
|
string mobiapp = 1;
|
||||||
|
//
|
||||||
|
int64 i_d = 2;
|
||||||
|
//
|
||||||
|
int64 mid = 3;
|
||||||
|
//
|
||||||
|
int32 type = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message SpaceSettingReply {
|
||||||
|
//
|
||||||
|
int64 channel = 1;
|
||||||
|
//
|
||||||
|
int64 fav_video = 2;
|
||||||
|
//
|
||||||
|
int64 coins_video = 3;
|
||||||
|
//
|
||||||
|
int64 likes_video = 4;
|
||||||
|
//
|
||||||
|
int64 bangumi = 5;
|
||||||
|
//
|
||||||
|
int64 played_game = 6;
|
||||||
|
//
|
||||||
|
int64 groups = 7;
|
||||||
|
//
|
||||||
|
int64 comic = 8;
|
||||||
|
//
|
||||||
|
int64 b_bq = 9;
|
||||||
|
//
|
||||||
|
int64 dress_up = 10;
|
||||||
|
//
|
||||||
|
int64 disable_following = 11;
|
||||||
|
//
|
||||||
|
int64 live_playback = 12;
|
||||||
|
//
|
||||||
|
int64 close_space_medal = 13;
|
||||||
|
//
|
||||||
|
int64 only_show_wearing = 14;
|
||||||
|
//
|
||||||
|
int64 disable_show_school = 15;
|
||||||
|
//
|
||||||
|
int64 disable_show_nft = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message SpaceSettingReq {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TopPhoto {
|
||||||
|
//
|
||||||
|
string img_url = 1;
|
||||||
|
//
|
||||||
|
string night_img_url = 2;
|
||||||
|
//
|
||||||
|
int64 sid = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TopPhotoArc {
|
||||||
|
//
|
||||||
|
bool show = 1;
|
||||||
|
//
|
||||||
|
int64 aid = 2;
|
||||||
|
//
|
||||||
|
string pic = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TopPhotoArcCancelReq {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TopPhotoReply {
|
||||||
|
//
|
||||||
|
TopPhoto top_photo = 1;
|
||||||
|
//
|
||||||
|
TopPhotoArc top_photo_arc = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TopPhotoReq {
|
||||||
|
//
|
||||||
|
string mobiapp = 1;
|
||||||
|
//
|
||||||
|
int64 mid = 2;
|
||||||
|
//
|
||||||
|
int32 build = 3;
|
||||||
|
//
|
||||||
|
string device = 4;
|
||||||
|
//
|
||||||
|
int64 login_mid = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
enum TopPhotoType {
|
||||||
|
UNKNOWN = 0; //
|
||||||
|
PIC = 1; //
|
||||||
|
ARCHIVE = 2; //
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message UpActivityTabReq {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
//
|
||||||
|
int32 state = 2;
|
||||||
|
//
|
||||||
|
int64 tab_cont = 3;
|
||||||
|
//
|
||||||
|
string tab_name = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message UpActivityTabResp {
|
||||||
|
//
|
||||||
|
bool success = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message UpRcmdBlackListReply {}
|
||||||
|
|
||||||
|
//
|
||||||
|
message UserTabReply {
|
||||||
|
//
|
||||||
|
int32 tab_type = 1;
|
||||||
|
//
|
||||||
|
int64 mid = 2;
|
||||||
|
//
|
||||||
|
string tab_name = 3;
|
||||||
|
//
|
||||||
|
int32 tab_order = 4;
|
||||||
|
//
|
||||||
|
int64 tab_cont = 5;
|
||||||
|
//
|
||||||
|
int32 is_default = 6;
|
||||||
|
//
|
||||||
|
string h5_link = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message UserTabReq {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
//
|
||||||
|
int32 plat = 2;
|
||||||
|
//
|
||||||
|
int32 build = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message WhitelistAddReply {
|
||||||
|
//
|
||||||
|
bool add_ok = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message WhitelistAddReq {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
//
|
||||||
|
int64 stime = 2;
|
||||||
|
//
|
||||||
|
int64 etime = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message WhitelistReply {
|
||||||
|
//
|
||||||
|
bool is_white = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message WhitelistReq {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message WhitelistUpReply {
|
||||||
|
//
|
||||||
|
bool up_ok = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message WhitelistValidTimeReply {
|
||||||
|
//
|
||||||
|
bool is_white = 1;
|
||||||
|
//
|
||||||
|
int64 stime = 2;
|
||||||
|
//
|
||||||
|
int64 etime = 3;
|
||||||
|
}
|
||||||
@@ -25,14 +25,10 @@ service VegaFrameDoc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message AuthReq {
|
message AuthReq {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
message AuthResp {
|
message AuthResp {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
message FrameOption {
|
message FrameOption {
|
||||||
@@ -53,14 +49,10 @@ message FrameOption {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message HeartbeatReq {
|
message HeartbeatReq {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
message HeartbeatResp {
|
message HeartbeatResp {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
message MessageAckReq {
|
message MessageAckReq {
|
||||||
|
|||||||
Reference in New Issue
Block a user