返回提交历史
Modified
grpc_api/bilibili/account/fission/v1/fission.proto
+25
-11
Modified
grpc_api/bilibili/ad/v1/ad.proto
+825
-288
Added
grpc_api/bilibili/api/player/v1/player.proto
+75
-0
Modified
grpc_api/bilibili/api/probe/v1/probe.proto
+77
-9
Modified
grpc_api/bilibili/app/archive/middleware/v1/preload.proto
+2
-0
Modified
grpc_api/bilibili/app/archive/v1/archive.proto
+20
-0
Modified
grpc_api/bilibili/app/dynamic/v2/dynamic.proto
+8
-0
Modified
grpc_api/bilibili/app/playeronline/v1/playeronline.proto
+1
-3
Modified
grpc_api/bilibili/app/view/v1/view.proto
+323
-6
Modified
grpc_api/bilibili/app/wall/v1/wall.proto
+1
-3
Added
grpc_api/bilibili/pagination/pagination.proto
+38
-0
XFEstudio/bilibili-API-collect
update 【gRPC API】 proto files
b4bb815
代码差异
11 个文件
+1395
-320
@@ -8,10 +8,17 @@ service Fission {
8
8
rpc Entrance (EntranceReq) returns (EntranceReply);
9
9
// 首页弹窗
10
10
rpc Window (WindowReq) returns (WindowReply);
11
//
12
rpc Privacy(PrivacyReq) returns (PrivacyReply);
11
13
}
12
14
13
// 活动入口-请求
14
message EntranceReq {}
15
// 动画效果
16
message AnimateIcon {
17
// icon文件
18
string icon = 1;
19
// 动效json文件
20
string json = 2;
21
}
15
22
16
23
// 活动入口-响应
17
24
message EntranceReply {
@@ -25,8 +32,20 @@ message EntranceReply {
25
32
AnimateIcon animate_icon = 4;
26
33
}
27
34
28
// 首页弹窗-请求
29
message WindowReq {}
35
// 活动入口-请求
36
message EntranceReq {}
37
38
//
39
message PrivacyReply {
40
//
41
string message = 1;
42
}
43
44
//
45
message PrivacyReq {
46
//
47
string activity_uid = 1;
48
}
30
49
31
50
//首页弹窗-响应
32
51
message WindowReply {
@@ -39,10 +58,5 @@ message WindowReply {
39
58
string report_data = 3;
40
59
}
41
60
42
//动画效果
43
message AnimateIcon {
44
// icon文件
45
string icon = 1;
46
// 动效json文件
47
string json = 2;
48
}
61
// 首页弹窗-请求
62
message WindowReq {}
@@ -0,0 +1,75 @@
1
syntax = "proto3";
2
3
package bilibili.api.player.v1;
4
5
// 心跳上报
6
service Heartbeat {
7
// 客户端心跳上报
8
rpc Mobile(HeartbeatReq) returns (HeartbeatReply);
9
}
10
11
// 客户端心跳上报-响应
12
message HeartbeatReply {
13
// 时间戳
14
int64 ts = 1;
15
}
16
17
// 客户端心跳上报-请求
18
message HeartbeatReq {
19
//
20
int64 server_time = 1;
21
//
22
string session = 2;
23
// 用户 mid
24
int64 mid = 3;
25
// 稿件 avid
26
int64 aid = 4;
27
// 视频 cid
28
int64 cid = 5;
29
//
30
string sid = 6;
31
//
32
int64 epid = 7;
33
//
34
string type = 8;
35
//
36
int32 sub_type = 9;
37
//
38
int32 quality = 10;
39
//
40
int64 total_time = 11;
41
//
42
int64 paused_time = 12;
43
//
44
int64 played_time = 13;
45
//
46
int64 video_duration = 14;
47
//
48
string play_type = 15;
49
//
50
int32 network_type = 16;
51
//
52
int64 last_play_progress_time = 17;
53
//
54
int64 max_play_progress_time = 18;
55
//
56
int32 from = 19;
57
//
58
string from_spmid = 20;
59
//
60
string spmid = 21;
61
//
62
string epid_status = 22;
63
//
64
string play_status = 23;
65
//
66
string user_status = 24;
67
//
68
int64 actual_played_time = 25;
69
//
70
int32 auto_play = 26;
71
//
72
int64 list_play_time = 27;
73
//
74
int64 detail_play_time = 28;
75
}
@@ -14,6 +14,17 @@ service Probe {
14
14
rpc TestSub (ProbeSubReq) returns (ProbeSubReply);
15
15
}
16
16
17
//
18
enum Category {
19
CATEGORY_UNSPECIFIED = 0; //
20
CATEGORY_ONE = 1; //
21
CATEGORY_TWO = 2; //
22
CATEGORY_THREE = 3; //
23
}
24
25
//
26
message CodeReply {}
27
17
28
//
18
29
message CodeReq {
19
30
//
@@ -21,14 +32,49 @@ message CodeReq {
21
32
}
22
33
23
34
//
24
message CodeReply {}
35
message DynamicMessageUpdate {
36
//
37
SimpleMessage body = 1;
38
}
25
39
26
40
//
27
message ProbeReq {
41
message Embedded {
28
42
//
29
int64 mid = 1;
43
bool bool_val = 1;
30
44
//
31
string buvid = 2;
45
int32 int32_val = 2;
46
//
47
int64 int64_val = 3;
48
//
49
float float_val = 4;
50
//
51
double double_val = 5;
52
//
53
string string_val = 6;
54
//
55
repeated int32 repeated_int32_val = 8;
56
//
57
repeated string repeated_string_val = 12;
58
//
59
map<string, string> map_string_val = 13;
60
//
61
map<string, ErrorMessage> map_error_val = 14;
62
}
63
64
//
65
message ErrorMessage {
66
//
67
int64 code = 1;
68
//
69
string reason = 2;
70
//
71
string message = 3;
72
}
73
74
//
75
enum ErrorReason {
76
PROBE_UNSPECIFIED = 0; //
77
PROBE_CATEGORY_NOTFOUND = 1; //
32
78
}
33
79
34
80
//
@@ -40,11 +86,11 @@ message ProbeReply {
40
86
}
41
87
42
88
//
43
message ProbeStreamReq {
89
message ProbeReq {
44
90
//
45
91
int64 mid = 1;
46
92
//
47
int64 sequence = 2;
93
string buvid = 2;
48
94
}
49
95
50
96
//
@@ -58,13 +104,35 @@ message ProbeStreamReply {
58
104
}
59
105
60
106
//
61
message ProbeSubReq {
107
message ProbeStreamReq {
62
108
//
63
int64 buvid = 1;
109
int64 mid = 1;
110
//
111
int64 sequence = 2;
64
112
}
65
113
66
114
//
67
115
message ProbeSubReply {
68
116
//
69
117
int64 message_id = 1;
70
}
118
}
119
120
//
121
message ProbeSubReq {
122
//
123
int64 buvid = 1;
124
}
125
126
//
127
message SimpleMessage {
128
//
129
int32 id = 1;
130
//
131
int64 num = 2;
132
//
133
string lang = 3;
134
//
135
int32 cate = 4;
136
//
137
Embedded embedded = 5;
138
}
@@ -13,4 +13,6 @@ message PlayerArgs {
13
13
// 返回url是否强制使用域名
14
14
// 0:不强制使用域名 1:http域名 2:https域名
15
15
int64 force_host = 4;
16
//
17
int64 voice_balance = 5;
16
18
}
@@ -66,6 +66,14 @@ message Arc {
66
66
int64 season_id = 29;
67
67
// 新版属性位配置(也没用)
68
68
int64 attribute_v2 = 30;
69
//
70
SeasonTheme season_theme = 31;
71
//
72
string short_link_v2 = 40;
73
//
74
int32 up_from_v2 = 41;
75
//
76
string first_frame = 42;
69
77
}
70
78
71
79
// UP主信息
@@ -110,6 +118,8 @@ message Page {
110
118
string webLink = 8;
111
119
// 分P分辨率
112
120
Dimension dimension = 9;
121
//
122
string first_frame = 10;
113
123
}
114
124
115
125
// 稿件控制标志
@@ -144,6 +154,16 @@ message Rights {
144
154
int32 pay_free_watch = 14;
145
155
}
146
156
157
//
158
message SeasonTheme {
159
//
160
string bg_color = 1;
161
//
162
string selected_bg_color = 2;
163
//
164
string text_color = 3;
165
}
166
147
167
// 合作成员信息
148
168
message StaffInfo {
149
169
// 成员mid
@@ -2591,6 +2591,10 @@ message MixUpListItem {
2591
2591
VipInfo vip = 8;
2592
2592
// 关注状态
2593
2593
Relation relation = 9;
2594
//
2595
int32 permire_state = 10;
2596
//
2597
string uri = 11;
2594
2598
}
2595
2599
2596
2600
message MixUpListLiveItem {
@@ -2736,6 +2740,10 @@ message ModuleAuthor {
2736
2740
bool show_follow = 12;
2737
2741
// 是否置顶
2738
2742
bool is_top = 13;
2743
// ip属地
2744
string ptime_location_text = 14;
2745
//
2746
bool show_level = 15;
2739
2747
}
2740
2748
2741
2749
// 动态列表渲染部分-用户模块-按钮
@@ -13,9 +13,7 @@ service PlayerOnline {
13
13
}
14
14
15
15
// 空回复
16
message NoReply {
17
18
}
16
message NoReply {}
19
17
20
18
// 获取在线人数-回复
21
19
message PlayerOnlineReply {
@@ -4,6 +4,7 @@ package bilibili.app.view.v1;
4
4
import "google/protobuf/any.proto";
5
5
import "bilibili/app/archive/middleware/v1/preload.proto";
6
6
import "bilibili/app/archive/v1/archive.proto";
7
import "bilibili/pagination/pagination.proto";
7
8
8
9
service View {
9
10
// 视频页详情页
@@ -26,13 +27,13 @@ service View {
26
27
rpc ExposePlayerCard (ExposePlayerCardReq) returns (NoReply);
27
28
// 点击签订契约
28
29
rpc AddContract (AddContractReq) returns (NoReply);
29
//
30
// 资源包
30
31
rpc ChronosPkg(ChronosPkgReq) returns (Chronos);
31
32
//
32
33
rpc CacheView(CacheViewReq) returns (CacheViewReply);
33
34
//
34
35
rpc ContinuousPlay(ContinuousPlayReq) returns (ContinuousPlayReply);
35
//
36
//
36
37
rpc RelatesFeed(RelatesFeedReq) returns (RelatesFeedReply);
37
38
//
38
39
rpc PremiereArchive(PremiereArchiveReq) returns (PremiereArchiveReply);
@@ -40,6 +41,12 @@ service View {
40
41
rpc Reserve(ReserveReq) returns (ReserveReply);
41
42
//
42
43
rpc PlayerRelates(PlayerRelatesReq) returns (PlayerRelatesReply);
44
//
45
rpc SeasonActivityRecord(SeasonActivityRecordReq) returns (SeasonActivityRecordReply);
46
//
47
rpc SeasonWidgetExpose(SeasonWidgetExposeReq) returns (SeasonWidgetExposeReply);
48
//
49
rpc GetArcsPlayer(GetArcsPlayerReq) returns (GetArcsPlayerReply);
43
50
}
44
51
45
52
// 活动页资源包
@@ -125,6 +132,10 @@ message ActivitySeason {
125
132
Config config = 29;
126
133
//
127
134
Online online = 30;
135
//
136
ArcExtra arc_extra = 31;
137
//
138
ReplyStyle reply_preface = 32;
128
139
}
129
140
130
141
// 点击签订契约-请求
@@ -149,6 +160,22 @@ message AdInfo {
149
160
string ad_cb = 4;
150
161
//
151
162
int32 card_type = 5;
163
//
164
bytes extra = 6;
165
}
166
167
//
168
message ArcExtra {
169
//
170
string arc_pub_location = 1;
171
}
172
173
//
174
message ArcsPlayer {
175
//
176
int64 aid = 1;
177
//
178
map<int64, string> player_info = 2;
152
179
}
153
180
154
181
//
@@ -293,6 +320,8 @@ message Button {
293
320
string title = 1;
294
321
// 跳转uri
295
322
string uri = 2;
323
//
324
string icon = 3;
296
325
}
297
326
298
327
//
@@ -429,6 +458,12 @@ message ClickActivitySeasonReq {
429
458
int64 action = 5;
430
459
}
431
460
461
// 点击播放器卡片-响应
462
message ClickPlayerCardReply {
463
//
464
string message = 1;
465
}
466
432
467
// 点击播放器卡片-请求
433
468
message ClickPlayerCardReq {
434
469
// 卡片id
@@ -470,6 +505,12 @@ message CmIpad {
470
505
int64 aid = 5;
471
506
}
472
507
508
//
509
message CoinCustom {
510
//
511
string toast = 1;
512
}
513
473
514
// 互动弹幕条目信息
474
515
message CommandDm {
475
516
// 弹幕id
@@ -536,6 +577,14 @@ message Config {
536
577
bool arc_play_story = 19;
537
578
//
538
579
string story_icon = 20;
580
//
581
bool landscape_story = 21;
582
//
583
bool arc_landscape_story = 22;
584
//
585
string landscape_icon = 23;
586
//
587
bool show_listen_button = 24;
539
588
}
540
589
541
590
//
@@ -709,6 +758,8 @@ message ElecRank {
709
758
repeated ElecRankItem list = 1;
710
759
// 充电用户数
711
760
int64 count = 2;
761
//
762
string text = 3;
712
763
}
713
764
714
765
// 充电用户信息
@@ -755,6 +806,8 @@ message Episode {
755
806
bool episode_pay = 14;
756
807
//
757
808
bool free_watch = 15;
809
//
810
string first_frame = 16;
758
811
}
759
812
760
813
// 播放器卡片曝光-请求
@@ -813,6 +866,20 @@ message FeedViewReq {
813
866
string from_track_id = 10;
814
867
}
815
868
869
//
870
message GetArcsPlayerReply {
871
//
872
repeated ArcsPlayer arcs_player = 1;
873
}
874
875
//
876
message GetArcsPlayerReq {
877
//
878
repeated PlayAv play_avs = 1;
879
//
880
bilibili.app.archive.middleware.v1.PlayerArgs player_args = 2;
881
}
882
816
883
//
817
884
message GoodsInfo {
818
885
//
@@ -904,6 +971,16 @@ message Label {
904
971
string lottie_night = 8;
905
972
}
906
973
974
//
975
message LikeAnimation {
976
//
977
string like_icon = 1;
978
//
979
string liked_icon = 2;
980
//
981
string like_animation = 3;
982
}
983
907
984
//
908
985
message LikeCustom {
909
986
//
@@ -1019,9 +1096,7 @@ message Node {
1019
1096
}
1020
1097
1021
1098
// 空回复
1022
message NoReply {
1023
1024
}
1099
message NoReply {}
1025
1100
1026
1101
//
1027
1102
message Notice {
@@ -1124,6 +1199,49 @@ enum OperationCardType {
1124
1199
CardTypeSkip = 2; // 原跳转卡
1125
1200
}
1126
1201
1202
//
1203
message OperationCardV2 {
1204
//
1205
int64 id = 1;
1206
//
1207
int32 from = 2;
1208
//
1209
int32 to = 3;
1210
//
1211
bool status = 4;
1212
//
1213
int32 biz_type = 5;
1214
//
1215
OperationCardV2Content content = 6;
1216
//
1217
oneof param {
1218
//
1219
BizFollowVideoParam BizFollowVideoParam = 7;
1220
//
1221
BizReserveActivityParam BizReserveActivityParam = 8;
1222
//
1223
BizJumpLinkParam BizJumpLinkParam = 9;
1224
//
1225
BizReserveGameParam BizReserveGameParam = 10;
1226
}
1227
}
1228
1229
//
1230
message OperationCardV2Content {
1231
//
1232
string title = 1;
1233
//
1234
string subtitle = 2;
1235
//
1236
string icon = 3;
1237
//
1238
string button_title = 4;
1239
//
1240
string button_selected_title = 5;
1241
//
1242
bool show_selected = 6;
1243
}
1244
1127
1245
// 相关推荐(运营配置+AI推荐)
1128
1246
message OperationRelate {
1129
1247
// 模块标题
@@ -1175,6 +1293,14 @@ enum PayState {
1175
1293
PayStateActive = 1; //
1176
1294
}
1177
1295
1296
//
1297
message PlayAv {
1298
//
1299
int64 aid = 1;
1300
//
1301
int64 cid = 2;
1302
}
1303
1178
1304
// 卡片类型
1179
1305
enum PlayerCardType {
1180
1306
PlayerCardTypeNone_VALUE = 0; //
@@ -1351,6 +1477,26 @@ message Rank {
1351
1477
string text = 3;
1352
1478
}
1353
1479
1480
//
1481
message RankInfo {
1482
//
1483
string icon_url_night = 1;
1484
//
1485
string icon_url_day = 2;
1486
//
1487
string bkg_night_color = 3;
1488
//
1489
string bkg_day_color = 4;
1490
//
1491
string font_night_color = 5;
1492
//
1493
string font_day_color = 6;
1494
//
1495
string rank_content = 7;
1496
//
1497
string rank_link = 8;
1498
}
1499
1354
1500
// 推荐理由样式
1355
1501
message ReasonStyle {
1356
1502
//
@@ -1403,7 +1549,19 @@ message RecThreePoint {
1403
1549
bool watch_later = 3;
1404
1550
}
1405
1551
1406
//相关推荐项
1552
//
1553
message RefreshPage {
1554
//
1555
int32 refreshable = 1;
1556
//
1557
int32 refresh_icon = 2;
1558
//
1559
string refresh_text = 3;
1560
//
1561
float refresh_show = 4;
1562
}
1563
1564
// 相关推荐项
1407
1565
message Relate {
1408
1566
//
1409
1567
int64 aid = 1;
@@ -1488,6 +1646,12 @@ message Relate {
1488
1646
PowerIconStyle power_icon_style = 39;
1489
1647
//
1490
1648
string reserve_status_text = 40;
1649
//
1650
string dislike_report_data = 41;
1651
//
1652
RankInfo rank_info_game = 42;
1653
//
1654
string first_frame = 43;
1491
1655
}
1492
1656
1493
1657
// 相关推荐内容
@@ -1504,6 +1668,8 @@ message RelatesFeedReply {
1504
1668
repeated Relate list = 1;
1505
1669
//
1506
1670
bool has_next = 2;
1671
//
1672
bilibili.pagination.PaginationReply pagination = 3;
1507
1673
}
1508
1674
1509
1675
//
@@ -1534,6 +1700,10 @@ message RelatesFeedReq {
1534
1700
int64 device_type = 12;
1535
1701
//
1536
1702
string ad_extra = 13;
1703
//
1704
bilibili.pagination.Pagination pagination = 14;
1705
//
1706
int32 refresh_num = 15;
1537
1707
}
1538
1708
1539
1709
//
@@ -1544,6 +1714,16 @@ message RelateTab {
1544
1714
string title = 2;
1545
1715
}
1546
1716
1717
//
1718
message ReplyStyle {
1719
//
1720
string badge_url = 1;
1721
//
1722
string badge_text = 2;
1723
//
1724
int64 badge_type = 3;
1725
}
1726
1547
1727
// 用户操作状态
1548
1728
message ReqUser {
1549
1729
// 用户是否关注UP
@@ -1562,6 +1742,8 @@ message ReqUser {
1562
1742
int32 attention_level = 7;
1563
1743
// 是否收藏合集
1564
1744
int32 fav_season = 8;
1745
//
1746
Button elec_plus_btn = 9;
1565
1747
}
1566
1748
1567
1749
//
@@ -1622,6 +1804,30 @@ message Season {
1622
1804
string ogv_playurl = 13;
1623
1805
}
1624
1806
1807
//
1808
message SeasonActivityRecordReply {
1809
//
1810
UgcSeasonActivity activity = 1;
1811
}
1812
1813
//
1814
message SeasonActivityRecordReq {
1815
//
1816
int64 season_id = 1;
1817
//
1818
int64 activity_id = 2;
1819
//
1820
int32 action = 3;
1821
//
1822
int64 aid = 4;
1823
//
1824
int64 cid = 5;
1825
//
1826
int64 scene = 6;
1827
//
1828
string spmid = 7;
1829
}
1830
1625
1831
//
1626
1832
message SeasonPlayer {
1627
1833
//
@@ -1646,6 +1852,20 @@ message SeasonReq {
1646
1852
int64 season_id = 1;
1647
1853
}
1648
1854
1855
//
1856
message SeasonShow {
1857
//
1858
string button_text = 1;
1859
//
1860
string join_text = 2;
1861
//
1862
string rule_text = 3;
1863
//
1864
string checkin_text = 4;
1865
//
1866
string checkin_prompt = 5;
1867
}
1868
1649
1869
//
1650
1870
enum SeasonType {
1651
1871
Unknown = 0; //
@@ -1653,6 +1873,32 @@ enum SeasonType {
1653
1873
Good = 2; //
1654
1874
}
1655
1875
1876
//
1877
message SeasonWidgetExposeReply {
1878
//
1879
int64 season_id = 1;
1880
//
1881
int64 activity_id = 2;
1882
}
1883
1884
//
1885
message SeasonWidgetExposeReq {
1886
//
1887
int64 mid = 1;
1888
//
1889
int32 type = 2;
1890
//
1891
int64 season_id = 3;
1892
//
1893
int64 activity_id = 4;
1894
//
1895
int64 aid = 5;
1896
//
1897
int64 cid = 6;
1898
//
1899
int64 scene = 7;
1900
}
1901
1656
1902
// 视频合集小节信息
1657
1903
message Section {
1658
1904
// 小节id
@@ -1819,6 +2065,7 @@ enum TabOtype {
1819
2065
UnknownOtype = 0; // 未知类型
1820
2066
URL = 1; // url链接
1821
2067
TopicNA = 2; // native话题活动
2068
CmURI = 3; // 广告url
1822
2069
}
1823
2070
1824
2071
// TAB样式
@@ -1915,6 +2162,40 @@ message UgcSeason {
1915
2162
ButtonStyle pay_button = 19;
1916
2163
//
1917
2164
string label_text_new = 20;
2165
//
2166
UgcSeasonActivity activity = 21;
2167
//
2168
repeated string season_ability = 22;
2169
}
2170
2171
//
2172
message UgcSeasonActivity {
2173
//
2174
int32 type = 1;
2175
//
2176
int64 oid = 2;
2177
//
2178
int64 activity_id = 3;
2179
//
2180
string title = 4;
2181
//
2182
string intro = 5;
2183
//
2184
int32 day_count = 6;
2185
//
2186
int32 user_count = 7;
2187
//
2188
int64 join_deadline = 8;
2189
//
2190
int64 activity_deadline = 9;
2191
//
2192
int32 checkin_view_time = 10;
2193
//
2194
bool new_activity = 11;
2195
//
2196
UserActivity user_activity = 12;
2197
//
2198
SeasonShow season_show = 13;
1918
2199
}
1919
2200
1920
2201
// ugc视频合集状态数
@@ -1983,6 +2264,22 @@ message UpperInfos {
1983
2264
int64 total_play_count = 4;
1984
2265
}
1985
2266
2267
//
2268
message UserActivity {
2269
//
2270
int32 user_state = 1;
2271
//
2272
int64 last_checkin_date = 2;
2273
//
2274
int32 checkin_today = 3;
2275
//
2276
int32 user_day_count = 4;
2277
//
2278
int32 user_view_time = 5;
2279
//
2280
string portrait = 6;
2281
}
2282
1986
2283
// 用户装扮信息
1987
2284
message UserGarb {
1988
2285
// 点赞动画url
@@ -2010,6 +2307,8 @@ message VideoGuide {
2010
2307
repeated OperationCardNew operation_card_new = 4;
2011
2308
// 契约卡
2012
2309
ContractCard contract_card = 5;
2310
//
2311
repeated OperationCardV2 cards_second = 6;
2013
2312
}
2014
2313
2015
2314
//
@@ -2238,6 +2537,18 @@ message ViewReply {
2238
2537
int64 notes_count = 54;
2239
2538
//
2240
2539
PullClientAction pull_action = 55;
2540
//
2541
ArcExtra arc_extra = 56;
2542
//
2543
bilibili.pagination.PaginationReply pagination = 57;
2544
//
2545
LikeAnimation like_animation = 58;
2546
//
2547
ReplyStyle reply_preface = 59;
2548
//
2549
RefreshPage refresh_page = 60;
2550
//
2551
CoinCustom coin_custom = 61;
2241
2552
}
2242
2553
2243
2554
// 视频页详情页-请求
@@ -2284,6 +2595,12 @@ message ViewReq {
2284
2595
int32 in_feed_play = 20;
2285
2596
//
2286
2597
string play_mode = 21;
2598
//
2599
bilibili.pagination.Pagination pagination = 22;
2600
//
2601
int32 refresh = 23;
2602
//
2603
int32 refresh_num = 24;
2287
2604
}
2288
2605
2289
2606
//
@@ -24,9 +24,7 @@ message RuleInfo {
24
24
}
25
25
26
26
// 获取免流规则信息-请求
27
message RuleRequest {
28
29
}
27
message RuleRequest {}
30
28
31
29
// 免流规则信息组
32
30
message RulesInfo {
@@ -0,0 +1,38 @@
1
syntax = "proto3";
2
package bilibili.pagination;
3
4
//
5
message FeedPagination {
6
//
7
int32 page_size = 1;
8
//
9
string offset = 2;
10
//
11
bool is_refresh = 3;
12
}
13
14
//
15
message FeedPaginationReply {
16
//
17
string next_offset = 1;
18
//
19
string prev_offset = 2;
20
//
21
string last_read_offset = 3;
22
}
23
24
//
25
message Pagination {
26
//
27
int32 page_size = 1;
28
//
29
string next = 2;
30
}
31
32
//
33
message PaginationReply {
34
//
35
string next = 1;
36
//
37
string prev = 2;
38
}