修改【readme】 添加【安卓端登录】appsec 添加大量【proto结构文件】

This commit is contained in:
SocialSisterYi
2021-02-03 00:02:04 +08:00
parent adfb20f144
commit 07d0396bbc
33 changed files with 7848 additions and 1578 deletions

View File

@@ -0,0 +1,27 @@
syntax = "proto3";
package bilibili.app.show.gateway.v1;
import "bilibili/broadcast/message/main.proto";
//
service AppShow {
//
//
rpc getActProgress (GetActProgressReq) returns (GetActProgressReply);
}
//-请求
message GetActProgressReq {
//
int64 pageID = 1;
//
int64 mid = 2;
}
//-回复
message GetActProgressReply {
//
bilibili.broadcast.message.main.NativePageEvent event = 1;
}

View File

@@ -0,0 +1,139 @@
syntax = "proto3";
package bilibili.app.show.popular.v1;
import "bilibili/app/playurl/v1.proto";
import "bilibili/app/card/v1.proto";
//
service Popular {
//
//
rpc index (PopularResultReq) returns (PopularReply);
}
//-请求
message PopularResultReq {
//
int64 idx = 1;
//
int32 loginEvent = 2;
//
int32 qn = 3;
//
int32 fnver = 4;
//
int32 fnval = 5;
//
int32 forceHost = 6;
//
int32 fourk = 7;
//
sfixed32 spmid = 8;
//
sfixed32 lastParam = 9;
//
sfixed32 ver = 10;
//
int64 entranceId = 11;
//
sfixed32 locationIds = 12;
//
int32 sourceId = 13;
//
int32 flush = 14;
//
bilibili.app.playurl.v1.PlayerArgs playerArgs = 15;
}
//-回复
message PopularReply {
//
repeated bilibili.app.card.v1.Card items = 1;
//
Config config = 2;
//
string ver = 3;
}
//
message Bubble {
//
string bubbleContent = 1;
//
int32 version = 2;
//
int64 stime = 3;
}
//
message Config {
//
string itemTitle = 1;
//
string bottomText = 2;
//
string bottomTextCover = 3;
//
string bottomTextUrl = 4;
//
repeated EntranceShow topItems = 5;
//
string headImage = 6;
//
repeated EntranceShow pageItems = 7;
//
int32 hit = 8;
}
//
message EntranceShow {
//
string icon = 1;
//
string title = 2;
//
string moduleId = 3;
//
string uri = 4;
//
Bubble bubble = 5;
//
int64 entranceId = 6;
//
string topPhoto = 7;
//
int32 entranceType = 8;
}

View File

@@ -0,0 +1,146 @@
syntax = "proto3";
package bilibili.app.show.rank.v1;
//
service Rank {
//
//
rpc rankAll (RankAllResultReq) returns (RankListReply);
//
//
rpc rankRegion (RankRegionResultReq) returns (RankListReply);
}
//-请求
message RankAllResultReq {
//
string order = 1;
//
int32 pn = 2;
//
int32 ps = 3;
}
//-请求
message RankRegionResultReq {
//
int32 rid = 1;
//
int32 pn = 2;
//
int32 ps = 3;
}
//-回复
message RankListReply {
//
repeated Item items = 1;
}
//
message Item {
//
string title = 1;
//
string cover = 2;
//
string param = 3;
//
string uri = 4;
//
string redirectUrl = 5;
//
string goto = 6;
//
int32 play = 7;
//
int32 danmaku = 8;
//
int64 mid = 9;
//
string name = 10;
//
string face = 11;
//
int32 reply = 12;
//
int32 favourite = 13;
//
int64 pubDate = 14;
//
int32 rid = 15;
//
string rname = 16;
//
int64 duration = 17;
//
int32 like = 18;
//
int64 cid = 19;
//
int64 pts = 20;
//
string cooperation = 21;
//
int32 attribute = 22;
//
int64 follower = 23;
//
OfficialVerify officialVerify = 24;
//
repeated Item children = 25;
//
Relation relation = 26;
}
//
message OfficialVerify {
//
int32 type = 1;
//
string desc = 2;
}
//
message Relation {
//
int32 status = 1;
//
int32 isFollow = 2;
//
int32 isFollowed = 3;
}

View File

@@ -0,0 +1,67 @@
syntax = "proto3";
package bilibili.app.show.region.v1;
//
service Region {
//
//
rpc region (RegionReq) returns (RegionReply);
}
//
message RegionReq {
//
string lang = 1;
}
//
message RegionReply {
//
repeated RegionInfo regions = 1;
}
//
message RegionConfig {
//
string scenesName = 1;
//
string scenesType = 2;
}
//
message RegionInfo {
//
int32 tid = 1;
//
int32 reid = 2;
//
string name = 3;
//
string logo = 4;
//
string goto = 5;
//
string param = 6;
//
string uri = 7;
//
int32 type = 8;
//
int32 isBangumi = 9;
//
repeated RegionInfo children = 10;
//
repeated RegionConfig config = 11;
}