update grpc proto from 7.49.0 (#833)

This commit is contained in:
陈寒彤
2023-10-04 12:06:32 +08:00
committed by GitHub
parent 03eaaf52dc
commit 17b7cb85ce
17 changed files with 1506 additions and 105 deletions

View File

@@ -1,9 +1,25 @@
syntax = "proto3";
package bilibili.dynamic;
package bilibili.dynamic.common;
import "bilibili/app/dynamic/v2/dynamic.proto";
//
message Article {
//
int64 category_id = 1;
//
int64 list_id = 2;
//
int32 originality = 3;
//
int32 reproduced = 4;
//
repeated Pic cover = 5;
//
repeated string biz_tags = 6;
}
// at分组信息
message AtGroup {
// 分组类型
@@ -75,6 +91,11 @@ enum AttachCardType {
ATTACH_CARD_PUGV = 13; // 课程
ATTACH_CARD_RESERVE = 14; // 预约
ATTACH_CARD_UP_TOPIC = 15; // up主话题活动
ATTACH_CARD_UP_ACTIVITY = 16;
ATTACH_CARD_UP_MAOER = 17;
ATTACH_CARD_MEMBER_GOODS = 18;
ATTACH_CARD_MAN_TIAN_XING = 19;
ATTACH_CARD_LOTTERY = 20;
}
//
@@ -85,6 +106,30 @@ message BottomBusiness {
int64 type = 2;
}
//
message CardParagraph {
//
LinkNode card = 1;
//
string default_text = 2;
}
//
message CodeParagraph {
//
string lang = 1;
//
string content = 2;
}
//
message Colors {
//
string color_day = 1;
//
string color_night = 2;
}
//
enum ContentType {
CONTENT_TYPE_NONE = 0; // 占位
@@ -125,6 +170,8 @@ message CreateAttachCard {
CreateGoodsCard goods = 1;
// 通用附加大卡目前仅限定Match,Game,Ugc,Pugv,Reserve且同时只能有一个
CreateCommonAttachCard common_card = 2;
// 商业推广大卡
CreateCommercialCard commercial = 3;
}
// 发布页预校验-响应
@@ -141,6 +188,14 @@ message CreateCheckResp {
PlusRedDot plus_red_dot = 5;
}
//
message CreateCommercialCard {
//
int64 commercial_entity_type = 1;
//
int64 commercial_entity_id = 2;
}
// 创建动态时附带的通用附加卡详情
message CreateCommonAttachCard {
// 通用附加卡的类型
@@ -157,6 +212,8 @@ message CreateCommonAttachCard {
message CreateContent {
// 描述信息(已按高亮拆分)
repeated CreateContentItem contents = 1;
//
string title = 2;
}
// 文本描述
@@ -230,6 +287,12 @@ message CreateDynVideo {
int64 up_from = 28;
//
int64 duration = 29;
//
int64 topic_id = 30;
//
string upload_id = 31;
//
DynVideoTopic topic_detail = 32;
}
// 创建动态视频的应答包(透传给客户端)
@@ -257,6 +320,7 @@ enum CreateInitCheckScene {
CREATE_INIT_CHECK_SCENE_REPOST = 2; // 动态feed流转发、三点分享动态详情页转发
CREATE_INIT_CHECK_SCENE_SHARE = 3; // 其他页面分享到动态
CREATE_INIT_CHECK_SCENE_RESERVE_SHARE = 4; //
CREATE_INIT_CHECK_SCENE_ARTICLE = 5;
}
// 动态创建时的特殊选项
@@ -280,6 +344,18 @@ message CreateOption {
VideoShareInfo video_share_info = 6;
//
CreateActivity activity = 7;
//
int32 pic_mode = 10;
// 粉丝专享(充电专享)
int64 only_fans = 11;
// 限制推广?
int32 limit_pegasus = 12;
// 限制搜索?
int32 limit_search = 13;
// 定时发布
int64 timer_pub_time = 14;
//
int64 only_fans_dnd = 15;
}
// 创建图文动态时的图片信息
@@ -342,6 +418,8 @@ message CreateResp {
bilibili.app.dynamic.v2.DynamicItem fake_card = 5;
// 视频
CreateDynVideoResult video_result = 6;
//
ShareDynWindow share_window = 7;
}
// 发布类型(场景)
@@ -356,6 +434,9 @@ enum CreateScene {
CREATE_SCENE_SHARE_PROGRAM = 7; // 分享小程序
CREATE_SCENE_REPLY_SYNC = 8; // 评论同步到动态
CREATE_SCENE_REPLY_CREATE_ACTIVITY = 9; // 评论同步到动态并且发起活动
CREATE_SCENE_CREATE_AD = 10; // 广告推广
CREATE_SCENE_CREATE_LIVE_RCMD = 11; // 直播推荐
CREATE_SCENE_CREATE_ARTICLE = 12; // 动态文章
}
// 动态附带的小卡
@@ -368,12 +449,18 @@ message CreateTag {
BottomBusiness diversion = 3;
}
//
//
message CreateTopic {
//
//
int64 id = 1;
//
//
string name = 2;
//
string from_source = 3;
//
int64 from_topic_id = 4;
//
int64 super_topic_id = 5;
}
// 动态的标识
@@ -526,6 +613,14 @@ message DynVideoSubmitActBanner {
repeated DynVideoHotAct list = 3;
}
//
message DynVideoTopic {
//
string from_source = 1;
//
int64 from_topic_id = 2;
}
//
message DynVideoVote {
//
@@ -549,6 +644,12 @@ message DynVideoWatermark {
int32 position = 3;
}
//
message EmoteNode {
//
string raw_text = 1;
}
//
message ExtLbs {
//
@@ -569,6 +670,16 @@ message ExtLbs {
string show_distance = 8;
}
//
message FormulaNode {
//
string latex_content = 1;
//
ImgInlineCfg image_spec = 2;
//
bytes png_image_data = 3;
}
// 根据name取uid-请求
message GetUidByNameReq {
// 查询昵称列表
@@ -592,6 +703,16 @@ message GoodsContent {
int64 shop_id = 3;
}
//
message ImgInlineCfg {
//
double width = 1;
//
double height = 2;
//
Colors color = 3;
}
// UP已经创建的活动列表
message LaunchedActivity {
// 模块名称,示例:"已创建的活动"
@@ -622,6 +743,30 @@ message LbsLoc {
double lng = 2;
}
//
message LineParagraph {
//
Pic pic = 1;
}
//
message LinkNode {
//
string show_text = 1;
//
string link = 2;
//
string icon = 3;
//
string icon_suffix = 4;
//
int32 link_type = 5;
//
string biz_id = 6;
//
VideoTs video_ts = 7;
}
//
message MetaDataCtrl {
// 客户端平台
@@ -653,6 +798,231 @@ message MetaDataCtrl {
string ip = 13;
}
//
message OnlyFansDndSetting {
//
string title = 1;
//
string pop_title = 2;
//
string pop_desc = 3;
//
string pop_picture = 4;
//
string pop_btn_text = 5;
}
//
message OnlyFansOption {
//
OnlyFansOptionType type = 1;
//
int32 disabled = 2;
//
string title = 3;
//
string subtitle = 4;
//
string icon = 5;
//
string only_fans_name = 6;
//
string desc_subtitle = 7;
}
enum OnlyFansOptionType {
//
ONLY_FANS_OPTION_NONE = 0;
//
ONLY_FANS_OPTION_UPOWER = 1;
//
ONLY_FANS_OPTION_HIGH_UPOWER = 2;
}
//
message OnlyFansPermission {
//
int32 permission = 1;
//
string title = 2;
//
string subtitle = 3;
//
string icon = 4;
//
string toast = 5;
//
repeated OnlyFansOption options = 6;
//
OnlyFansDndSetting dnd_setting = 7;
}
//
message Opus {
//
int64 opus_id = 1;
//
int32 opus_source = 2;
//
string title = 3;
//
int64 cover_avid = 4;
//
string h5_content = 5;
//
OpusContent content = 6;
//
repeated OpusTag tags = 7;
//
PubInfo pub_info = 8;
//
Article article = 9;
}
enum OpusBizType {
DEFAULT = 0;
VIDEO = 1;
RESERVE = 2;
VOTE = 3;
LIVE = 4;
LOTTERY = 5;
MATCH = 6;
GOODS = 7;
OGV_SS = 8;
OGV_EP = 9;
MANGA = 10;
CHEESE = 11;
VIDEO_TS = 12;
AT = 13;
HASH_TAG = 14;
CV = 15;
URL = 16;
MAIL = 17;
LBS = 18;
ACTIVITY = 19;
ATTACH_CARD_OFFICIAL_ACTIVITY = 20;
GAME = 21;
DECORATION = 22;
UP_TOPIC = 23;
UP_ACTIVITY = 24;
UP_MAOER = 25;
MEMBER_GOODS = 26;
OPENMALL_UP_ITEMS = 27;
MUSIC = 29;
}
//
message OpusContent {
//
repeated Paragraph paragraphs = 1;
}
enum OpusSource {
DEFAULT_SOURCE = 0;
ALBUM = 1;
ARTICLE = 2;
NOTE = 3;
OGV_COMMENT = 4;
ARTICLE_H5 = 5;
WORD = 6;
}
//
message OpusSummary {
//
int32 opus_source = 1;
//
string title = 2;
//
repeated Pic cover = 3;
//
OpusContent summary = 4;
//
repeated OpusTag tags = 5;
//
PubInfo pub_info = 6;
}
//
message OpusTag {
//
LinkNode tag = 1;
}
//
message Paragraph {
//
enum ParagraphType {
DEFAULT = 0;
TEXT = 1;
PICTURES = 2;
LINE = 3;
REFERENCE = 4;
SORTED_LIST = 5;
UNSORTED_LIST = 6;
LINK_CARD = 7;
}
//
message ListFormat {
//
int32 level = 1;
//
int32 order = 2;
//
string theme = 3;
}
//
message ParagraphFormat {
//
int32 align = 1;
//
ListFormat list_format = 2;
}
//
ParagraphType para_type = 1;
//
ParagraphFormat format = 2;
//
TextParagraph text = 3;
//
PicParagraph pic = 4;
//
LineParagraph line = 5;
//
CardParagraph link_card = 6;
//
CodeParagraph code = 7;
}
//
message Pic {
//
string url = 1;
//
double width = 2;
//
double height = 3;
//
double size = 4;
//
string comment = 5;
}
//
message PicParagraph {
//
enum PicParagraphStyle {
DEFAULT = 0;
NINE_CELL = 1;
SCROLL = 2;
}
//
repeated Pic pics = 1;
//
PicParagraphStyle style = 2;
}
//
message PlusRedDot {
//
@@ -677,6 +1047,18 @@ message Program {
string jump_text = 7;
}
//
message PubInfo {
//
int64 uid = 1;
//
int64 pub_time = 2;
//
int64 last_mtime = 3;
//
int64 timer_pub_time = 4;
}
// 发布相关的设置项
message PublishSetting {
// 提示转为专栏的最小字数使用utf-16编码计算字符数
@@ -685,6 +1067,12 @@ message PublishSetting {
int32 max_words_to_article = 2;
// gif上传的最大值单位MB
int32 upload_size = 3;
//
int32 max_at_count = 4;
//
int32 max_draft_count = 5;
//
int64 title_max_len = 6;
}
// 发布页小黄条
@@ -737,6 +1125,16 @@ message ShareChannelItem {
ShareReserve reserve = 4;
}
//
message ShareDynWindow {
//
string main_title = 1;
//
string sub_title = 2;
//
bilibili.app.dynamic.v2.DynamicItem dyn_item = 3;
}
//
message ShareReserve {
// 标题
@@ -811,6 +1209,35 @@ message Sketch {
string target_url = 7;
}
//
message TextNode {
//
enum TextNodeType {
DEFAULT = 0;
WORDS = 1;
EMOTE = 2;
AT = 3;
BIZ_LINK = 4;
FORMULA = 5;
}
//
TextNodeType node_type = 1;
//
WordNode word = 2;
//
EmoteNode emote = 3;
//
LinkNode link = 4;
//
FormulaNode formula = 5;
}
//
message TextParagraph {
//
repeated TextNode nodes = 1;
}
// 发布相关的权限内容
message UpPermission {
// 通用权限列表
@@ -819,6 +1246,8 @@ message UpPermission {
LaunchedActivity launched_activity = 2;
//
ShareResult share_result = 3;
//
OnlyFansPermission only_fans_permission = 4;
}
// 通用发布权限内容的详细定义
@@ -854,6 +1283,9 @@ enum UpPermissionType {
UP_PERMISSION_TYPE_CONTROL_DANMU = 7; // 是否有权限关闭弹幕(仅对动态视频生效),默认有
UP_PERMISSION_TYPE_VIDEO_RESERVE = 8; // 是否可以发起稿件预约
UP_PERMISSION_TYPE_LIVE_RESERVE = 9; // 是否可以发起直播预约
UP_PERMISSION_TYPE_BIZ_LINK = 10; //
UP_PERMISSION_TYPE_COMMERCIAL = 11; // 是否允许商业推广
UP_PERMISSION_TYPE_BIG_COVER = 12; // 是否允许大封面
}
// 用户主动发布app/web发布时的meta信息
@@ -873,3 +1305,52 @@ message VideoShareInfo {
//
int32 part = 2;
}
//
message VideoTs {
//
int64 cid = 1;
//
int64 oid_type = 2;
//
int64 status = 3;
//
int64 index = 4;
//
int64 seconds = 5;
//
int64 cidcount = 6;
//
string key = 7;
//
string title = 8;
//
int64 epid = 9;
//
string desc = 10;
}
//
message WordNode {
//
message WordNodeStyle {
//
bool bold = 1;
//
bool italic = 2;
//
bool strikethrough = 3;
//
bool underline = 4;
}
//
string words = 1;
//
double font_size = 2;
//
string color = 3;
//
string dark_color = 4;
//
WordNodeStyle style = 5;
}

View File

@@ -1,5 +1,6 @@
syntax = "proto3";
// Deprecated
package bilibili.dynamic.gateway;
import "google/protobuf/any.proto";

View File

@@ -1 +1,28 @@
// TODO
syntax = "proto3";
package bilibili.dynamic.interfaces.campus.v1;
//
service Campus {
//
rpc ActionReport (ActionReportReq) returns (ActionReportReply);
}
//
message ActionReportReply {}
//
message ActionReportReq {
//
string identity = 1;
//
ActionType action = 2;
//
int64 campus_id = 3;
}
//
enum ActionType {
ACTION_NOTHING = 0;
ACTION_CLOSE_YELLOW_BAR = 1;
}

View File

@@ -1,67 +1,178 @@
syntax = "proto3";
package bilibili.main.dynamic.feed.v1;
package bilibili.dynamic.interfaces.feed.v1;
import "bilibili/dynamic/common/dynamic.proto";
//
service Feed {
// 发布页预校验
rpc CreateInitCheck(CreateInitCheckReq) returns (bilibili.dynamic.CreateCheckResp);
//
rpc SubmitCheck(SubmitCheckReq) returns (SubmitCheckRsp);
// 创建动态
rpc CreateDyn(CreateDynReq) returns (bilibili.dynamic.CreateResp);
// 根据name取uid
rpc GetUidByName(bilibili.dynamic.GetUidByNameReq) returns (bilibili.dynamic.GetUidByNameRsp);
//
rpc AddDynamicReport(AddDynamicReportReq) returns (AddDynamicReportRsp);
// at用户推荐列表
rpc AtList(bilibili.dynamic.AtListReq) returns (bilibili.dynamic.AtListRsp);
rpc AtList(bilibili.dynamic.common.AtListReq) returns (bilibili.dynamic.common.AtListRsp);
// at用户搜索列表
rpc AtSearch(bilibili.dynamic.AtSearchReq) returns (bilibili.dynamic.AtListRsp);
rpc AtSearch(bilibili.dynamic.common.AtSearchReq) returns (bilibili.dynamic.common.AtListRsp);
//
rpc AttachCardButton(AttachCardButtonReq) returns (AttachCardButtonRsp);
//
rpc Config(ConfigReq) returns (ConfigRsp);
// 创建动态
rpc CreateDyn(CreateDynReq) returns (bilibili.dynamic.common.CreateResp);
// 发布页预校验
rpc CreateInitCheck(CreateInitCheckReq) returns (bilibili.dynamic.common.CreateCheckResp);
//
rpc ReserveButtonClick(ReserveButtonClickReq) returns (ReserveButtonClickResp);
//
rpc CreatePlusButtonClick(CreatePlusButtonClickReq) returns (CreatePlusButtonClickRsp);
//
rpc HotSearch(HotSearchReq) returns (HotSearchRsp);
//
rpc Suggest(SuggestReq) returns (SuggestRsp);
//
rpc DynamicButtonClick(DynamicButtonClickReq) returns (DynamicButtonClickRsp);
rpc CreatePageInfos(CreatePageInfosReq) returns (CreatePageInfosRsp);
//
rpc CreatePermissionButtonClick(CreatePermissionButtonClickReq) returns (CreatePermissionButtonClickRsp);
//
rpc CreatePageInfos(CreatePageInfosReq) returns (CreatePageInfosRsp);
rpc CreatePlusButtonClick(CreatePlusButtonClickReq) returns (CreatePlusButtonClickRsp);
//
rpc DynamicButtonClick(DynamicButtonClickReq) returns (DynamicButtonClickRsp);
//
rpc DynamicRepost(DynamicRepostReq) returns (bilibili.dynamic.common.CreateResp);
//
rpc DynamicThumb(DynamicThumbReq) returns (DynamicThumbRsp);
//
rpc EditDyn(EditDynReq) returns (EditDynRsp);
//
rpc GetEditDynInfo(GetEditDynInfoReq) returns (GetEditDynInfoRsp);
// 根据name取uid
rpc GetUidByName(bilibili.dynamic.common.GetUidByNameReq) returns (bilibili.dynamic.common.GetUidByNameRsp);
//
rpc GoodsAttachCardPreview(GoodsAttachCardPreviewReq) returns (GoodsAttachCardPreviewRsp);
//
rpc HomeBubbleReport(HomeBubbleReportReq) returns (HomeBubbleReportRsp);
//
rpc HotSearch(HotSearchReq) returns (HotSearchRsp);
//
rpc ICreateGoodsReplySync(ICreateGoodsReplySyncReq) returns (ICreateResp);
//
rpc NearbyPoiList(NearbyPoiListReq) returns (NearbyPoiListRsp);
//
rpc ReserveButtonClick(ReserveButtonClickReq) returns (ReserveButtonClickResp);
//
rpc RmDyn(RmDynReq) returns (RmDynRsp);
//
rpc RmSpaceTop(RmSpaceTopReq) returns (RmSpaceTopRsp);
//
rpc SearchPoiList(SearchPoiListReq) returns (SearchPoiListRsp);
//
rpc SetSpaceTop(SetSpaceTopReq) returns (SetSpaceTopRsp);
//
rpc SubmitCheck(SubmitCheckReq) returns (SubmitCheckRsp);
//
rpc Suggest(SuggestReq) returns (SuggestRsp);
}
//
message AddDynamicReportReq {
//
int64 accused_uid = 1;
//
string dynamic_id = 2;
//
int64 reason_type = 3;
//
string reason_desc = 4;
}
//
message AddDynamicReportRsp {}
//
message AdInfoDetail {
//
string nation = 1;
//
string province = 2;
//
string city = 3;
//
string district = 4;
}
//
message AttachCardButtonReq {
//
int32 cur_btn_status = 1;
//
int64 dynamic_id = 2;
//
bilibili.dynamic.common.AttachCardType attach_card_type = 3;
//
string spm_id = 4;
//
int64 reserve_total = 5;
//
string dynamic_id_str = 6;
//
string card_type = 7;
}
//
message AttachCardButtonRsp {
//
int32 final_btn_status = 1;
//
string toast = 2;
//
string desc_update = 3;
//
int64 reserve_update = 4;
}
//
message ConfigAB {
//
ConfigABEntry entry = 1;
//
int64 value = 2;
}
//
enum ConfigABEntry {
CONFIG_AB_ENTRY_NONE = 0;
CONFIG_AB_ENTRY_PUB_PAGE_TITLE = 1;
CONFIG_AB_ENTRY_SELECT_PIC_PANEL = 2;
}
//
message ConfigReq {}
//
message ConfigRsp {
//
repeated ConfigAB ab_entries = 1;
}
// 创建动态-请求
message CreateDynReq {
// 用户创建接口meta信息
bilibili.dynamic.UserCreateMeta meta = 1;
bilibili.dynamic.common.UserCreateMeta meta = 1;
// 发布的内容
bilibili.dynamic.CreateContent content = 2;
bilibili.dynamic.common.CreateContent content = 2;
// 发布类型
bilibili.dynamic.CreateScene scene = 3;
bilibili.dynamic.common.CreateScene scene = 3;
// 图片内容
repeated bilibili.dynamic.CreatePic pics = 4;
repeated bilibili.dynamic.common.CreatePic pics = 4;
// 转发源
bilibili.dynamic.DynIdentity repost_src = 5;
bilibili.dynamic.common.DynIdentity repost_src = 5;
// 动态视频
bilibili.dynamic.CreateDynVideo video = 6;
bilibili.dynamic.common.CreateDynVideo video = 6;
// 通用模板类型2048方图 2049竖图 其他值无效
int64 sketch_type = 7;
// 通用模板的元内容(网页内容)
bilibili.dynamic.Sketch sketch = 8;
bilibili.dynamic.common.Sketch sketch = 8;
// 小程序的内容
bilibili.dynamic.Program program = 9;
bilibili.dynamic.common.Program program = 9;
// 动态附加小卡
bilibili.dynamic.CreateTag dyn_tag = 10;
bilibili.dynamic.common.CreateTag dyn_tag = 10;
// 动态附加大卡
bilibili.dynamic.CreateAttachCard attach_card = 11;
bilibili.dynamic.common.CreateAttachCard attach_card = 11;
// 特殊的创建选项
bilibili.dynamic.CreateOption option = 12;
bilibili.dynamic.common.CreateOption option = 12;
//
bilibili.dynamic.CreateTopic topic = 13;
bilibili.dynamic.common.CreateTopic topic = 13;
//
string upload_id = 14;
}
@@ -69,23 +180,37 @@ message CreateDynReq {
//
message CreateInitCheckReq {
//
int32 scene = 1;
bilibili.dynamic.common.CreateInitCheckScene scene = 1;
//
bilibili.dynamic.MetaDataCtrl meta = 2;
bilibili.dynamic.common.MetaDataCtrl meta = 2;
//
bilibili.dynamic.RepostInitCheck repost = 3;
bilibili.dynamic.common.RepostInitCheck repost = 3;
}
//
//
message CreatePageCommercialInfo {
//
string label_text = 1;
//
string desc = 2;
}
//
message CreatePageInfosReq {
//
//
int64 topic_id = 1;
//
int64 commercial_entity_type = 2;
//
int64 commercial_entity_id = 3;
}
//
//
message CreatePageInfosRsp {
//
//
CreatePageTopicInfo topic = 1;
//
CreatePageCommercialInfo commercial = 2;
}
//
@@ -126,7 +251,8 @@ enum DynamicButtonClickBizType {
//
message DynamicButtonClickReq {
//
repeated DynamicButtonClickBizType biz_type = 1;
}
//
@@ -134,6 +260,168 @@ message DynamicButtonClickRsp {
}
//
message DynamicRepostReq {
//
int64 uid = 1;
//
bilibili.dynamic.common.CreateContent content = 2;
//
bilibili.dynamic.common.DynIdentity repost_src = 3;
//
bilibili.dynamic.common.CreateOption option = 4;
//
bilibili.dynamic.common.CreateTopic topic = 5;
//
string upload_id = 6;
}
//
message DynamicThumbReq {
//
int64 uid = 1;
//
int64 dyn_id = 2;
//
int64 type = 3;
//
int64 rid = 4;
//
int64 spec_type = 5;
//
int64 up = 6;
//
string from = 7;
}
//
message DynamicThumbRsp {}
//
message EditDynReq {
//
int64 dyn_id = 1;
//
bilibili.dynamic.common.CreateScene scene = 2;
//
bilibili.dynamic.common.UserCreateMeta meta = 3;
//
bilibili.dynamic.common.CreateContent content = 4;
//
repeated bilibili.dynamic.common.CreatePic pics = 5;
//
bilibili.dynamic.common.DynIdentity repost_src = 6;
//
bilibili.dynamic.common.CreateTag dyn_tag = 7;
//
bilibili.dynamic.common.CreateAttachCard attach_card = 8;
//
bilibili.dynamic.common.CreateOption option = 9;
//
bilibili.dynamic.common.CreateTopic topic = 10;
//
string upload_id = 11;
}
//
message EditDynRsp {
//
int64 state = 1;
//
string totast = 2;
}
//
message GetEditDynInfoReq {
//
int64 dyn_id = 1;
//
bilibili.dynamic.common.CreateScene scene = 2;
//
bilibili.dynamic.common.MetaDataCtrl meta = 3;
//
bilibili.dynamic.common.RepostInitCheck repost = 4;
}
//
message GetEditDynInfoRsp {
//
repeated bilibili.dynamic.common.CreatePic pics = 1;
//
int64 orig_dyn_id = 2;
//
int64 pre_dyn_id = 3;
//
repeated CreatePageTopicInfo topic_infos = 4;
//
bilibili.dynamic.common.CreateAttachCard attach_card = 5;
//
bilibili.dynamic.common.PublishSetting setting = 6;
//
bilibili.dynamic.common.UpPermission permission = 7;
//
bilibili.dynamic.common.ShareChannel share_info = 8;
//
bilibili.dynamic.common.PublishYellowBar yellow_bar = 9;
//
bilibili.dynamic.common.PlusRedDot plus_red_dot = 10;
//
int64 only_fans = 11;
//
string edit_alert_msg = 12;
}
//
message GoodsAttachCardPreviewReq {
//
repeated int64 item_ids = 1;
//
int64 dyn_id = 2;
//
int64 mid = 3;
//
bilibili.dynamic.common.MetaDataCtrl meta = 4;
}
//
message GoodsAttachCardPreviewRsp {
//
map<int64, GoodsItem> goods = 1;
}
//
message GoodsItem {
//
int64 items_id = 1;
//
string name = 2;
//
string brief = 3;
//
string img = 4;
//
float price = 5;
//
string price_str = 6;
//
string icon_name = 7;
//
string icon_url = 8;
//
string jump_link = 9;
//
string jump_link_desc = 10;
}
//
message HomeBubbleReportReq {
//
string track_id = 1;
}
//
message HomeBubbleReportRsp {}
//
message HotSearchReq {
@@ -152,6 +440,137 @@ message HotSearchRsp {
string version = 2;
}
//
message ICreateGoodsReplySyncReq {
//
int64 uid = 1;
//
int64 goods_id = 2;
//
bilibili.dynamic.common.CreateContent content = 3;
//
bilibili.dynamic.common.CreateScene scene = 4;
//
repeated bilibili.dynamic.common.CreatePic pics = 5;
}
//
message ICreateResp {
//
int64 dyn_id = 1;
//
int64 dyn_type = 2;
//
int64 dyn_rid = 3;
}
//
message LbsLocation {
//
double lat = 1;
//
double lng = 2;
}
//
message NearbyPoiDetail {
//
LbsLocation location = 1;
//
POI_TYPE type = 2;
//
string poi = 3;
//
string address = 4;
//
string title = 5;
//
string show_title = 6;
//
double distance = 7;
//
string show_distance = 8;
//
AdInfoDetail ad_info = 9;
//
repeated PoiId ancestors = 10;
}
//
message NearbyPoiListItem {
//
NearbyPoiDetail poi_info = 1;
//
int32 user_count = 2;
}
//
message NearbyPoiListReq {
//
double lat = 1;
//
double lng = 2;
//
int32 page = 3;
//
int32 page_size = 4;
}
//
message NearbyPoiListRsp {
//
bool has_more = 1;
//
repeated NearbyPoiListItem pois = 2;
}
enum POI_TYPE {
TENCENT = 0;
CITY = 1;
NATION = 2;
BILI = 3;
}
//
message PoiDetail {
//
LbsLocation location = 1;
//
POI_TYPE type = 2;
//
string poi = 3;
//
string address = 4;
//
string title = 5;
//
string show_title = 6;
//
double distance = 7;
//
string show_distance = 8;
//
AdInfoDetail ad_info = 9;
//
PoiId ancestors = 10;
}
//
message PoiId {
//
string poi = 1;
//
int32 type = 2;
}
//
message PoiListItem {
//
PoiDetail poi_info = 1;
//
int32 user_count = 2;
}
//
message ReserveButtonClickReq {
//
@@ -202,12 +621,89 @@ enum ReserveButtonStatus {
RESERVE_BUTTON_STATUS_CHECK = 2; //
}
//
message ReserveCalendarInfo {
//
string title = 1;
//
int64 startts = 2;
//
int64 endts = 3;
//
string description = 4;
//
string bussinessid = 5;
}
//
message RmDynReq {
//
int64 dyn_id = 1;
//
string dyn_id_str = 2;
}
//
message RmDynRsp {}
//
message RmSpaceTopReq {
//
int64 dyn_id = 1;
//
int32 teenagers_mode = 2;
}
//
message RmSpaceTopRsp {}
//
message SearchPoiListReq {
//
double lat = 1;
//
double lng = 2;
//
int32 page = 3;
//
int32 page_size = 4;
//
string keyword = 5;
}
//
message SearchPoiListRsp {
//
bool has_more = 1;
//
repeated PoiListItem pois = 2;
}
//
message SetSpaceTopReq {
//
int64 dyn_id = 1;
//
int32 teenagers_mode = 2;
}
//
message SetSpaceTopRsp {}
//
message SubmitCheckReq {
//
bilibili.dynamic.CreateContent content = 1;
bilibili.dynamic.common.CreateContent content = 1;
//
repeated bilibili.dynamic.CreatePic pics = 2;
repeated bilibili.dynamic.common.CreatePic pics = 2;
//
bilibili.dynamic.common.CreateAttachCard attach_card = 3;
//
bilibili.dynamic.common.CreateScene scene = 4;
//
bilibili.dynamic.common.CreateOption create_option = 5;
//
bilibili.dynamic.common.Opus opus = 6;
}
//