-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.proto
65 lines (58 loc) · 1.36 KB
/
common.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// B站开放接口 - 公共参数管理 bilibili-webapp
syntax = "proto3";
package member.bilibili.com ;
import "google/api/annotations.proto";
option go_package = "github.com/dev-openapi/bilibili-webapp";
message Page {
int64 pn = 1;
int64 ps = 2;
int64 total = 3;
}
message AnthologyData {
int64 id = 1;
string name = 2;
string image_url = 3;
int64 update_time = 4;
int64 ctime = 5;
int64 publish_time = 6;
string summary = 7;
int64 words = 8;
int64 read = 9;
int64 state = 10;
string apply_time = 11;
string check_time = 12;
int64 total = 13;
string reason = 14;
}
message ArticleCategory {
int64 id = 1;
int64 parent_id = 2;
string name = 3;
repeated ArticleCategory children = 4;
}
message ArticleData {
message Stats {
int64 view = 1;
int64 favorite = 2;
int64 like = 3;
int64 dislike = 4;
int64 reply = 5;
int64 share = 6;
int64 coin = 7;
}
int64 id = 1;
ArticleCategory category = 2;
string title = 3;
string summary = 4;
string banner_url = 5;
int64 template_id = 6;
int64 state = 7;
repeated string image_urls = 8;
int64 publish_time = 9;
int64 ctime = 10;
Stats stats = 11;
string reason = 12;
int64 words = 13;
AnthologyData list = 14;
string top_video_bvid = 15;
}