update 【gRPC API】 proto files
This commit is contained in:
@@ -377,6 +377,10 @@ message Arc {
|
||||
int64 season_id = 29;
|
||||
//
|
||||
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 {
|
||||
@@ -557,10 +559,10 @@ message OperationRelate {
|
||||
|
||||
//
|
||||
enum OrderType {
|
||||
TypeNone = 0; //
|
||||
TypeNone = 0; //
|
||||
TypeOrderActivity = 1; //
|
||||
TypeFavSeason = 2; //
|
||||
TypeClick = 3; //
|
||||
TypeFavSeason = 2; //
|
||||
TypeClick = 3; //
|
||||
}
|
||||
|
||||
//
|
||||
@@ -597,6 +599,12 @@ message PendantInfo {
|
||||
int64 expire = 4;
|
||||
}
|
||||
|
||||
//
|
||||
message ReasonStyle {
|
||||
//
|
||||
string text = 1;
|
||||
}
|
||||
|
||||
//
|
||||
message Relate {
|
||||
//
|
||||
@@ -744,8 +752,8 @@ message ReplyEmoteMeta {
|
||||
//
|
||||
enum ReplyEmoteMetaSize {
|
||||
EMOTE_META_SIZE_UNSPECIFIED = 0; //
|
||||
EMOTE_META_SIZE_SMALL = 1; //
|
||||
EMOTE_META_SIZE_BIG = 2; //
|
||||
EMOTE_META_SIZE_SMALL = 1; //
|
||||
EMOTE_META_SIZE_BIG = 2; //
|
||||
}
|
||||
|
||||
//
|
||||
@@ -952,6 +960,10 @@ message Rights {
|
||||
int32 is_cooperation = 10;
|
||||
//
|
||||
int32 ugc_pay_preview = 11;
|
||||
//
|
||||
int32 arc_pay = 12;
|
||||
//
|
||||
int32 free_watch = 13;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -976,6 +988,8 @@ message SeasonEpisode {
|
||||
Page page = 9;
|
||||
//
|
||||
string bvid = 10;
|
||||
//
|
||||
ReasonStyle badge_style = 11;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1188,6 +1202,8 @@ message UGCSeason {
|
||||
int64 ep_count = 10;
|
||||
//
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user