mirror of
https://github.com/SocialSisterYi/bilibili-API-collect.git
synced 2025-04-02 19:30:12 +08:00
update 【gRPC API】 proto files
This commit is contained in:
parent
ab5518cbb2
commit
3c8dfc6d61
@ -27,5 +27,7 @@ message Card {
|
|||||||
PopularTopEntrance popular_top_entrance = 9;
|
PopularTopEntrance popular_top_entrance = 9;
|
||||||
//
|
//
|
||||||
RcmdOneItem rcmd_one_item = 10;
|
RcmdOneItem rcmd_one_item = 10;
|
||||||
|
//
|
||||||
|
SmallCoverV5Ad small_cover_v5_ad = 11;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,50 @@ package bilibili.app.card.v1;
|
|||||||
|
|
||||||
import "bilibili/app/card/v1/ad.proto";
|
import "bilibili/app/card/v1/ad.proto";
|
||||||
|
|
||||||
|
//
|
||||||
|
message Args {
|
||||||
|
//
|
||||||
|
int32 type = 1;
|
||||||
|
//
|
||||||
|
int64 up_id = 2;
|
||||||
|
//
|
||||||
|
string up_name = 3;
|
||||||
|
//
|
||||||
|
int32 rid = 4;
|
||||||
|
//
|
||||||
|
string rname = 5;
|
||||||
|
//
|
||||||
|
int64 tid = 6;
|
||||||
|
//
|
||||||
|
string tname = 7;
|
||||||
|
//
|
||||||
|
string track_id = 8;
|
||||||
|
//
|
||||||
|
string state = 9;
|
||||||
|
//
|
||||||
|
int32 converge_type = 10;
|
||||||
|
//
|
||||||
|
int64 aid = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message Avatar {
|
||||||
|
//
|
||||||
|
string cover = 1;
|
||||||
|
//
|
||||||
|
string text = 2;
|
||||||
|
//
|
||||||
|
string uri = 3;
|
||||||
|
//
|
||||||
|
int32 type = 4;
|
||||||
|
//
|
||||||
|
string event = 5;
|
||||||
|
//
|
||||||
|
string event_v2 = 6;
|
||||||
|
//
|
||||||
|
int32 defalut_cover = 7;
|
||||||
|
}
|
||||||
|
|
||||||
// 条目基本信息
|
// 条目基本信息
|
||||||
message Base {
|
message Base {
|
||||||
// 卡片类型
|
// 卡片类型
|
||||||
@ -44,6 +88,8 @@ message Base {
|
|||||||
Button desc_button = 17;
|
Button desc_button = 17;
|
||||||
// 三点v4
|
// 三点v4
|
||||||
ThreePointV4 three_point_v4 = 18;
|
ThreePointV4 three_point_v4 = 18;
|
||||||
|
//
|
||||||
|
UpArgs up_args = 19;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 按钮信息
|
// 按钮信息
|
||||||
@ -66,16 +112,6 @@ message Button {
|
|||||||
Relation relation = 8;
|
Relation relation = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
message ThreePoint {
|
|
||||||
//
|
|
||||||
repeated DislikeReason dislike_reasons = 1;
|
|
||||||
//
|
|
||||||
repeated DislikeReason feedbacks = 2;
|
|
||||||
//稍后再看
|
|
||||||
int32 watch_later = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
message DislikeReason {
|
message DislikeReason {
|
||||||
//
|
//
|
||||||
@ -85,29 +121,27 @@ message DislikeReason {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message Args {
|
message LikeButton {
|
||||||
//
|
//
|
||||||
int32 type = 1;
|
int64 Aid = 1;
|
||||||
//
|
//
|
||||||
int64 up_id = 2;
|
int32 count = 2;
|
||||||
//
|
//
|
||||||
string up_name = 3;
|
bool show_count = 3;
|
||||||
//
|
//
|
||||||
int32 rid = 4;
|
string event = 4;
|
||||||
//
|
//
|
||||||
string rname = 5;
|
int32 selected = 5;
|
||||||
//
|
//
|
||||||
int64 tid = 6;
|
string event_v2 = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message Mask {
|
||||||
//
|
//
|
||||||
string tname = 7;
|
Avatar avatar = 1;
|
||||||
//
|
//
|
||||||
string track_id = 8;
|
Button button = 2;
|
||||||
//
|
|
||||||
string state = 9;
|
|
||||||
//
|
|
||||||
int32 converge_type = 10;
|
|
||||||
//
|
|
||||||
int64 aid = 11;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -134,30 +168,89 @@ message PlayerArgs {
|
|||||||
int64 season_id = 11;
|
int64 season_id = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
// 标签框信息
|
||||||
message Mask {
|
message ReasonStyle {
|
||||||
|
// 文案
|
||||||
|
string text = 1;
|
||||||
|
// 文字颜色
|
||||||
|
string text_color = 2;
|
||||||
|
// 背景色
|
||||||
|
string bg_color = 3;
|
||||||
|
// 边框色
|
||||||
|
string border_color = 4;
|
||||||
|
// 图标url
|
||||||
|
string icon_url = 5;
|
||||||
|
// 文字颜色-夜间
|
||||||
|
string text_color_night = 6;
|
||||||
|
// 背景色-夜间
|
||||||
|
string bg_color_night = 7;
|
||||||
|
// 边框色-夜间
|
||||||
|
string border_color_night = 8;
|
||||||
|
// 图标url-夜间
|
||||||
|
string icon_night_url = 9;
|
||||||
|
// 背景风格id
|
||||||
|
// 1:无背景 2:有背景
|
||||||
|
int32 bg_style = 10;
|
||||||
//
|
//
|
||||||
Avatar avatar = 1;
|
string uri = 11;
|
||||||
//
|
//
|
||||||
Button button = 2;
|
string icon_bg_url = 12;
|
||||||
|
//
|
||||||
|
string event = 13;
|
||||||
|
//
|
||||||
|
string event_v2 = 14;
|
||||||
|
//
|
||||||
|
int32 right_icon_type = 15;
|
||||||
|
//
|
||||||
|
string left_icon_type = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 关系信息
|
||||||
|
message Relation {
|
||||||
|
// 关系状态
|
||||||
|
int32 status = 1;
|
||||||
|
// 是否关注
|
||||||
|
int32 is_follow = 2;
|
||||||
|
// 是否粉丝
|
||||||
|
int32 is_followed = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 分享面板信息
|
||||||
|
message SharePlane {
|
||||||
|
// 标题
|
||||||
|
string title = 1;
|
||||||
|
// 副标贴文案
|
||||||
|
string share_subtitle = 2;
|
||||||
|
// 备注
|
||||||
|
string desc = 3;
|
||||||
|
// 封面url
|
||||||
|
string cover = 4;
|
||||||
|
// 稿件avid
|
||||||
|
int64 aid = 5;
|
||||||
|
// 稿件bvid
|
||||||
|
string bvid = 6;
|
||||||
|
// 允许分享方式
|
||||||
|
map<string,bool> share_to = 7;
|
||||||
|
// UP主昵称
|
||||||
|
string author = 8;
|
||||||
|
// UP主mid
|
||||||
|
int64 author_id = 9;
|
||||||
|
// 短连接
|
||||||
|
string short_link = 10;
|
||||||
|
// 播放次数文案
|
||||||
|
string play_number = 11;
|
||||||
|
//
|
||||||
|
int64 first_cid = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message Avatar {
|
message ThreePoint {
|
||||||
//
|
//
|
||||||
string cover = 1;
|
repeated DislikeReason dislike_reasons = 1;
|
||||||
//
|
//
|
||||||
string text = 2;
|
repeated DislikeReason feedbacks = 2;
|
||||||
//
|
//稍后再看
|
||||||
string uri = 3;
|
int32 watch_later = 3;
|
||||||
//
|
|
||||||
int32 type = 4;
|
|
||||||
//
|
|
||||||
string event = 5;
|
|
||||||
//
|
|
||||||
string event_v2 = 6;
|
|
||||||
//
|
|
||||||
int32 defalut_cover = 7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -208,93 +301,6 @@ message ThreePointV4 {
|
|||||||
WatchLater watch_later = 2;
|
WatchLater watch_later = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 分享面板信息
|
|
||||||
message SharePlane {
|
|
||||||
// 标题
|
|
||||||
string title = 1;
|
|
||||||
// 副标贴文案
|
|
||||||
string share_subtitle = 2;
|
|
||||||
// 备注
|
|
||||||
string desc = 3;
|
|
||||||
// 封面url
|
|
||||||
string cover = 4;
|
|
||||||
// 稿件avid
|
|
||||||
int64 aid = 5;
|
|
||||||
// 稿件bvid
|
|
||||||
string bvid = 6;
|
|
||||||
// 允许分享方式
|
|
||||||
map<string,bool> share_to = 7;
|
|
||||||
// UP主昵称
|
|
||||||
string author = 8;
|
|
||||||
// UP主mid
|
|
||||||
int64 author_id = 9;
|
|
||||||
// 短连接
|
|
||||||
string short_link = 10;
|
|
||||||
// 播放次数文案
|
|
||||||
string play_number = 11;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 稍后再看信息
|
|
||||||
message WatchLater {
|
|
||||||
// 稿件avid
|
|
||||||
int64 aid = 1;
|
|
||||||
// 稿件bvid
|
|
||||||
string bvid = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 标签框信息
|
|
||||||
message ReasonStyle {
|
|
||||||
// 文案
|
|
||||||
string text = 1;
|
|
||||||
// 文字颜色
|
|
||||||
string text_color = 2;
|
|
||||||
// 背景色
|
|
||||||
string bg_color = 3;
|
|
||||||
// 边框色
|
|
||||||
string border_color = 4;
|
|
||||||
// 图标url
|
|
||||||
string icon_url = 5;
|
|
||||||
// 文字颜色-夜间
|
|
||||||
string text_color_night = 6;
|
|
||||||
// 背景色-夜间
|
|
||||||
string bg_color_night = 7;
|
|
||||||
// 边框色-夜间
|
|
||||||
string border_color_night = 8;
|
|
||||||
// 图标url-夜间
|
|
||||||
string icon_night_url = 9;
|
|
||||||
// 背景风格id
|
|
||||||
// 1:无背景 2:有背景
|
|
||||||
int32 bg_style = 10;
|
|
||||||
//
|
|
||||||
string uri = 11;
|
|
||||||
//
|
|
||||||
string icon_bg_url = 12;
|
|
||||||
//
|
|
||||||
string event = 13;
|
|
||||||
//
|
|
||||||
string event_v2 = 14;
|
|
||||||
//
|
|
||||||
int32 right_icon_type = 15;
|
|
||||||
//
|
|
||||||
string left_icon_type = 16;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
message LikeButton {
|
|
||||||
//
|
|
||||||
int64 Aid = 1;
|
|
||||||
//
|
|
||||||
int32 count = 2;
|
|
||||||
//
|
|
||||||
bool show_count = 3;
|
|
||||||
//
|
|
||||||
string event = 4;
|
|
||||||
//
|
|
||||||
int32 selected = 5;
|
|
||||||
//
|
|
||||||
string event_v2 = 6;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
message Up {
|
message Up {
|
||||||
//
|
//
|
||||||
@ -313,12 +319,22 @@ message Up {
|
|||||||
string cooperation = 7;
|
string cooperation = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 关系信息
|
//
|
||||||
message Relation {
|
message UpArgs {
|
||||||
// 关系状态
|
//
|
||||||
int32 status = 1;
|
int64 up_id = 1;
|
||||||
// 是否关注
|
//
|
||||||
int32 is_follow = 2;
|
string up_name = 2;
|
||||||
// 是否粉丝
|
//
|
||||||
int32 is_followed = 3;
|
string up_face = 3;
|
||||||
|
//
|
||||||
|
int64 selected = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 稍后再看信息
|
||||||
|
message WatchLater {
|
||||||
|
// 稿件avid
|
||||||
|
int64 aid = 1;
|
||||||
|
// 稿件bvid
|
||||||
|
string bvid = 2;
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,42 @@ message SmallCoverV5 {
|
|||||||
int32 right_icon_2 = 11;
|
int32 right_icon_2 = 11;
|
||||||
// 左上角角标
|
// 左上角角标
|
||||||
ReasonStyle left_corner_mark_style = 12;
|
ReasonStyle left_corner_mark_style = 12;
|
||||||
|
//
|
||||||
|
string cover_right_text_content_description = 13;
|
||||||
|
//
|
||||||
|
string right_desc1_content_description = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message SmallCoverV5Ad {
|
||||||
|
//
|
||||||
|
Base base = 1;
|
||||||
|
//
|
||||||
|
string cover_gif = 2;
|
||||||
|
//
|
||||||
|
Up up = 3;
|
||||||
|
//
|
||||||
|
string cover_right_text1 = 4;
|
||||||
|
//
|
||||||
|
string right_desc1 = 5;
|
||||||
|
//
|
||||||
|
string right_desc2 = 6;
|
||||||
|
//
|
||||||
|
ReasonStyle rcmd_reason_style = 7;
|
||||||
|
//
|
||||||
|
HotwordEntrance hotword_entrance = 8;
|
||||||
|
//
|
||||||
|
ReasonStyle corner_mark_style = 9;
|
||||||
|
//
|
||||||
|
int32 right_icon1 = 10;
|
||||||
|
//
|
||||||
|
int32 right_icon2 = 11;
|
||||||
|
//
|
||||||
|
ReasonStyle left_corner_mark_style = 12;
|
||||||
|
//
|
||||||
|
string cover_right_text_content_description = 13;
|
||||||
|
//
|
||||||
|
string right_desc1_content_description = 14;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -157,6 +193,10 @@ message SmallCoverRcmdItem {
|
|||||||
int32 rightIcon1 = 10;
|
int32 rightIcon1 = 10;
|
||||||
// 右侧文案2图标id
|
// 右侧文案2图标id
|
||||||
int32 rightIcon2 = 11;
|
int32 rightIcon2 = 11;
|
||||||
|
//
|
||||||
|
string cover_right_text_content_description = 12;
|
||||||
|
//
|
||||||
|
string right_desc1_content_description = 13;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -310,4 +350,4 @@ message Bubble {
|
|||||||
int32 version = 2;
|
int32 version = 2;
|
||||||
// 起始时间
|
// 起始时间
|
||||||
int64 stime = 3;
|
int64 stime = 3;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -4,6 +4,8 @@ package bilibili.app.listener.v1;
|
|||||||
|
|
||||||
import "google/protobuf/empty.proto";
|
import "google/protobuf/empty.proto";
|
||||||
import "bilibili/app/archive/middleware/v1/preload.proto";
|
import "bilibili/app/archive/middleware/v1/preload.proto";
|
||||||
|
import "bilibili/app/interfaces/v1/history.proto";
|
||||||
|
import "bilibili/app/playurl/v1/playurl.proto";
|
||||||
|
|
||||||
// 听视频
|
// 听视频
|
||||||
service Listener {
|
service Listener {
|
||||||
@ -55,6 +57,28 @@ service Listener {
|
|||||||
rpc PickFeed (PickFeedReq) returns (PickFeedResp);
|
rpc PickFeed (PickFeedReq) returns (PickFeedResp);
|
||||||
// 每日播单详情
|
// 每日播单详情
|
||||||
rpc PickCardDetail (PickCardDetailReq) returns (PickCardDetailResp);
|
rpc PickCardDetail (PickCardDetailReq) returns (PickCardDetailResp);
|
||||||
|
//
|
||||||
|
rpc Medialist(MedialistReq) returns (MedialistResp);
|
||||||
|
//
|
||||||
|
rpc Event(EventReq) returns (EventResp);
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
service Music {
|
||||||
|
//
|
||||||
|
rpc FavTabShow(FavTabShowReq) returns (FavTabShowResp);
|
||||||
|
//
|
||||||
|
rpc MainFavMusicSubTabList(MainFavMusicSubTabListReq) returns (MainFavMusicSubTabListResp);
|
||||||
|
//
|
||||||
|
rpc MainFavMusicMenuList(MainFavMusicMenuListReq) returns (MainFavMusicMenuListResp);
|
||||||
|
//
|
||||||
|
rpc MenuEdit(MenuEditReq) returns (MenuEditResp);
|
||||||
|
//
|
||||||
|
rpc MenuDelete(MenuDeleteReq) returns (MenuDeleteResp);
|
||||||
|
//
|
||||||
|
rpc MenuSubscribe(MenuSubscribeReq) returns (MenuSubscribeResp);
|
||||||
|
//
|
||||||
|
rpc Click(ClickReq) returns (ClickResp);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -173,6 +197,19 @@ enum CardModuleType {
|
|||||||
Module_cbtn = 3;
|
Module_cbtn = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message ClickReq {
|
||||||
|
//
|
||||||
|
int64 sid = 1;
|
||||||
|
//
|
||||||
|
int32 action = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message ClickResp {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message CoinAddReq {
|
message CoinAddReq {
|
||||||
//
|
//
|
||||||
@ -243,6 +280,29 @@ message DetailItem {
|
|||||||
string message = 9;
|
string message = 9;
|
||||||
//
|
//
|
||||||
map<int64,PlayInfo> player_info = 10;
|
map<int64,PlayInfo> player_info = 10;
|
||||||
|
//
|
||||||
|
PlayItem associated_item = 11;
|
||||||
|
//
|
||||||
|
int64 last_play_time = 12;
|
||||||
|
//
|
||||||
|
string history_tag = 13;
|
||||||
|
//
|
||||||
|
bilibili.app.interfaces.v1.DeviceType device_type = 14;
|
||||||
|
//
|
||||||
|
FavFolder ugc_season_info = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message EventReq {
|
||||||
|
//
|
||||||
|
int32 event_type = 1;
|
||||||
|
//
|
||||||
|
PlayItem item = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message EventResp {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -257,6 +317,8 @@ message EventTracking {
|
|||||||
string entity_type = 4;
|
string entity_type = 4;
|
||||||
//
|
//
|
||||||
string entity_id = 5;
|
string entity_id = 5;
|
||||||
|
//
|
||||||
|
string track_json = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -533,6 +595,18 @@ message FavoredInAnyFoldersResp {
|
|||||||
PlayItem item = 2;
|
PlayItem item = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message FavTabShowReq {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message FavTabShowResp {
|
||||||
|
//
|
||||||
|
bool show_menu = 1;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message FollowRelation {
|
message FollowRelation {
|
||||||
//
|
//
|
||||||
@ -553,6 +627,219 @@ message FormatDescription {
|
|||||||
string superscript = 5;
|
string superscript = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
enum ListOrder {
|
||||||
|
NO_ORDER = 0; //
|
||||||
|
ORDER_NORMAL = 1; //
|
||||||
|
ORDER_REVERSE = 2; //
|
||||||
|
ORDER_RANDOM = 3; //
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
enum ListSortField {
|
||||||
|
NO_SORT = 0; //
|
||||||
|
SORT_CTIME = 1; //
|
||||||
|
SORT_VIEWCNT = 2; //
|
||||||
|
SORT_FAVCNT = 3; //
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MainFavMusicMenuListReq {
|
||||||
|
//
|
||||||
|
int32 tab_type = 1;
|
||||||
|
//
|
||||||
|
string offset = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MainFavMusicMenuListResp {
|
||||||
|
//
|
||||||
|
int32 tab_type = 1;
|
||||||
|
//
|
||||||
|
repeated MusicMenu menu_list = 2;
|
||||||
|
//
|
||||||
|
bool has_more = 3;
|
||||||
|
//
|
||||||
|
string offset = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MainFavMusicSubTabListReq {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MainFavMusicSubTabListResp {
|
||||||
|
//
|
||||||
|
repeated MusicSubTab tabs = 1;
|
||||||
|
//
|
||||||
|
MainFavMusicMenuListResp default_tab_res = 2;
|
||||||
|
//
|
||||||
|
map<int32, MainFavMusicMenuListResp> first_page_res = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MedialistItem {
|
||||||
|
//
|
||||||
|
PlayItem item = 1;
|
||||||
|
//
|
||||||
|
string title = 2;
|
||||||
|
//
|
||||||
|
string cover = 3;
|
||||||
|
//
|
||||||
|
int64 duration = 4;
|
||||||
|
//
|
||||||
|
int32 parts = 5;
|
||||||
|
//
|
||||||
|
int64 up_mid = 6;
|
||||||
|
//
|
||||||
|
string up_name = 7;
|
||||||
|
//
|
||||||
|
int32 state = 8;
|
||||||
|
//
|
||||||
|
string message = 9;
|
||||||
|
//
|
||||||
|
int64 stat_view = 10;
|
||||||
|
//
|
||||||
|
int64 stat_reply = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MedialistReq {
|
||||||
|
//
|
||||||
|
int64 list_type = 1;
|
||||||
|
//
|
||||||
|
int64 biz_id = 2;
|
||||||
|
//
|
||||||
|
string offset = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MedialistResp {
|
||||||
|
//
|
||||||
|
int64 total = 1;
|
||||||
|
//
|
||||||
|
bool has_more = 2;
|
||||||
|
//
|
||||||
|
string offset = 3;
|
||||||
|
//
|
||||||
|
repeated MedialistItem items = 4;
|
||||||
|
//
|
||||||
|
MedialistUpInfo up_info = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MedialistUpInfo {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
//
|
||||||
|
string avatar = 2;
|
||||||
|
//
|
||||||
|
int64 fans = 3;
|
||||||
|
//
|
||||||
|
string name = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MenuDeleteReq {
|
||||||
|
//
|
||||||
|
int64 id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MenuDeleteResp {
|
||||||
|
//
|
||||||
|
string message = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MenuEditReq {
|
||||||
|
//
|
||||||
|
int64 id = 1;
|
||||||
|
//
|
||||||
|
string title = 2;
|
||||||
|
//
|
||||||
|
string desc = 3;
|
||||||
|
//
|
||||||
|
int32 is_public = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MenuEditResp {
|
||||||
|
//
|
||||||
|
string message = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MenuSubscribeReq {
|
||||||
|
//
|
||||||
|
int32 action = 1;
|
||||||
|
//
|
||||||
|
int64 target_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MenuSubscribeResp {
|
||||||
|
//
|
||||||
|
string message = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MusicMenu {
|
||||||
|
//
|
||||||
|
int64 id = 1;
|
||||||
|
//
|
||||||
|
int32 menu_type = 2;
|
||||||
|
//
|
||||||
|
string title = 3;
|
||||||
|
//
|
||||||
|
string desc = 4;
|
||||||
|
//
|
||||||
|
string cover = 5;
|
||||||
|
//
|
||||||
|
MusicMenuAuthor owner = 6;
|
||||||
|
//
|
||||||
|
int32 state = 7;
|
||||||
|
//
|
||||||
|
int64 attr = 8;
|
||||||
|
//
|
||||||
|
MusicMenuStat stat = 9;
|
||||||
|
//
|
||||||
|
int64 total = 10;
|
||||||
|
//
|
||||||
|
int64 ctime = 11;
|
||||||
|
//
|
||||||
|
string uri = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MusicMenuAuthor {
|
||||||
|
//
|
||||||
|
int64 mid = 1;
|
||||||
|
//
|
||||||
|
string name = 2;
|
||||||
|
//
|
||||||
|
string avatar = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MusicMenuStat {
|
||||||
|
//
|
||||||
|
int64 play = 1;
|
||||||
|
//
|
||||||
|
int64 reply = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message MusicSubTab {
|
||||||
|
//
|
||||||
|
string name = 1;
|
||||||
|
//
|
||||||
|
int32 tab_type = 2;
|
||||||
|
//
|
||||||
|
int64 total = 3;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message PageOption {
|
message PageOption {
|
||||||
//
|
//
|
||||||
@ -677,6 +964,8 @@ message PkcmHeader {
|
|||||||
message PlayActionReportReq {
|
message PlayActionReportReq {
|
||||||
//
|
//
|
||||||
PlayItem item = 1;
|
PlayItem item = 1;
|
||||||
|
//
|
||||||
|
string from_spmid = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -711,7 +1000,10 @@ message PlayHistoryDelReq {
|
|||||||
|
|
||||||
//
|
//
|
||||||
message PlayHistoryReq {
|
message PlayHistoryReq {
|
||||||
|
//
|
||||||
PageOption page_opt = 1;
|
PageOption page_opt = 1;
|
||||||
|
//
|
||||||
|
int64 local_today_zero = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -751,6 +1043,10 @@ message PlayInfo {
|
|||||||
int32 code = 11;
|
int32 code = 11;
|
||||||
//
|
//
|
||||||
string message = 12;
|
string message = 12;
|
||||||
|
//
|
||||||
|
int64 expire_time = 13;
|
||||||
|
//
|
||||||
|
bilibili.app.playurl.v1.VolumeInfo volume = 14;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -801,6 +1097,8 @@ message PlaylistReq {
|
|||||||
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 5;
|
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 5;
|
||||||
//
|
//
|
||||||
int64 extra_id = 6;
|
int64 extra_id = 6;
|
||||||
|
//
|
||||||
|
SortOption sort_opt = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -821,14 +1119,15 @@ message PlaylistResp {
|
|||||||
|
|
||||||
//
|
//
|
||||||
enum PlaylistSource {
|
enum PlaylistSource {
|
||||||
DEFAULT = 0;
|
DEFAULT = 0; //
|
||||||
MEM_SPACE = 1;
|
MEM_SPACE = 1; //
|
||||||
AUDIO_COLLECTION = 2;
|
AUDIO_COLLECTION = 2; //
|
||||||
AUDIO_CARD = 3;
|
AUDIO_CARD = 3; //
|
||||||
USER_FAVOURITE = 4;
|
USER_FAVOURITE = 4; //
|
||||||
UP_ARCHIVE = 5;
|
UP_ARCHIVE = 5; //
|
||||||
AUDIO_CACHE = 6;
|
AUDIO_CACHE = 6; //
|
||||||
PICK_CARD = 7;
|
PICK_CARD = 7; //
|
||||||
|
MEDIA_LIST = 8; //
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -865,6 +1164,10 @@ message RcmdPlaylistReq {
|
|||||||
int64 id = 2;
|
int64 id = 2;
|
||||||
//
|
//
|
||||||
bool need_history = 3;
|
bool need_history = 3;
|
||||||
|
//
|
||||||
|
bool need_top_cards = 4;
|
||||||
|
//
|
||||||
|
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -873,6 +1176,8 @@ message RcmdPlaylistResp {
|
|||||||
repeated DetailItem list = 1;
|
repeated DetailItem list = 1;
|
||||||
//
|
//
|
||||||
int64 history_len = 2;
|
int64 history_len = 2;
|
||||||
|
//
|
||||||
|
repeated TopCard top_cards = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -895,6 +1200,14 @@ message ResponseUrl {
|
|||||||
string md5 = 8;
|
string md5 = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message SortOption {
|
||||||
|
//
|
||||||
|
int32 order = 1;
|
||||||
|
//
|
||||||
|
int32 sort_field = 2;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message ThumbUpReq {
|
message ThumbUpReq {
|
||||||
//
|
//
|
||||||
@ -909,6 +1222,94 @@ message ThumbUpResp {
|
|||||||
string message = 1;
|
string message = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TopCard {
|
||||||
|
//
|
||||||
|
string title = 1;
|
||||||
|
//
|
||||||
|
int32 play_style = 2;
|
||||||
|
//
|
||||||
|
int32 card_type = 3;
|
||||||
|
//
|
||||||
|
oneof card {
|
||||||
|
//
|
||||||
|
TpcdHistory listen_history = 4;
|
||||||
|
//
|
||||||
|
TpcdFavFolder fav_folder = 5;
|
||||||
|
//
|
||||||
|
TpcdUpRecall up_recall = 6;
|
||||||
|
//
|
||||||
|
TpcdPickToday pick_today = 7;
|
||||||
|
}
|
||||||
|
//
|
||||||
|
int64 pos = 8;
|
||||||
|
//
|
||||||
|
string title_icon = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
enum TopCardType {
|
||||||
|
UNSPECIFIED = 0; //
|
||||||
|
LISTEN_HISTORY = 1; //
|
||||||
|
FAVORITE_FOLDER = 2; //
|
||||||
|
UP_RECALL = 3; //
|
||||||
|
PICK_TODAY = 4; //
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TpcdFavFolder {
|
||||||
|
//
|
||||||
|
DetailItem item = 1;
|
||||||
|
//
|
||||||
|
string text = 2;
|
||||||
|
//
|
||||||
|
string pic = 3;
|
||||||
|
//
|
||||||
|
int64 fid = 4;
|
||||||
|
//
|
||||||
|
int32 folder_type = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TpcdHistory {
|
||||||
|
//
|
||||||
|
DetailItem item = 1;
|
||||||
|
//
|
||||||
|
string text = 2;
|
||||||
|
//
|
||||||
|
string pic = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TpcdPickToday {
|
||||||
|
//
|
||||||
|
DetailItem item = 1;
|
||||||
|
//
|
||||||
|
string text = 2;
|
||||||
|
//
|
||||||
|
string pic = 3;
|
||||||
|
//
|
||||||
|
int64 pick_id = 4;
|
||||||
|
//
|
||||||
|
int64 pick_card_id = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message TpcdUpRecall {
|
||||||
|
//
|
||||||
|
int64 up_mid = 1;
|
||||||
|
//
|
||||||
|
string text = 2;
|
||||||
|
//
|
||||||
|
string avatar = 3;
|
||||||
|
//
|
||||||
|
int64 medialist_type = 4;
|
||||||
|
//
|
||||||
|
int64 medialist_biz_id = 5;
|
||||||
|
//
|
||||||
|
DetailItem item = 6;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message TripleLikeReq {
|
message TripleLikeReq {
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user