2021-02-03 00:02:04 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package bilibili.app.space.v1;
|
|
|
|
|
|
|
|
//
|
|
|
|
service Space {
|
|
|
|
//
|
2021-06-14 01:33:41 +08:00
|
|
|
rpc Archive (ArchiveReq) returns (ArchiveReply);
|
2021-02-03 00:02:04 +08:00
|
|
|
}
|
|
|
|
|
2021-06-14 01:33:41 +08:00
|
|
|
//-响应
|
2021-02-03 00:02:04 +08:00
|
|
|
message ArchiveReply {
|
|
|
|
//
|
|
|
|
repeated BiliSpaceVideo item = 1;
|
|
|
|
//
|
|
|
|
int32 count = 2;
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
EpisodicButton episodic_button = 3;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
|
|
|
repeated OrderConfig order = 4;
|
|
|
|
}
|
|
|
|
|
2022-01-31 00:33:38 +08:00
|
|
|
//-请求
|
|
|
|
message ArchiveReq {
|
|
|
|
//
|
|
|
|
int64 vmid = 1;
|
|
|
|
//
|
|
|
|
int32 pn = 2;
|
|
|
|
//
|
|
|
|
int32 ps = 3;
|
|
|
|
//
|
|
|
|
string order = 4;
|
|
|
|
}
|
|
|
|
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
|
|
|
message Badge {
|
|
|
|
//
|
|
|
|
string text = 1;
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
string text_color = 2;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
string text_color_night = 3;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
string bg_color = 4;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
string bg_color_night = 5;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
string border_color = 6;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
string border_color_night = 7;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
int32 bg_style = 8;
|
2021-02-03 00:02:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
message BiliSpaceVideo {
|
|
|
|
//
|
|
|
|
string title = 1;
|
|
|
|
//
|
|
|
|
string tname = 2;
|
|
|
|
//
|
|
|
|
int64 duration = 3;
|
|
|
|
//
|
|
|
|
string cover = 4;
|
|
|
|
//
|
|
|
|
string uri = 5;
|
|
|
|
//
|
|
|
|
string param = 6;
|
|
|
|
//
|
|
|
|
string danmaku = 7;
|
|
|
|
//
|
|
|
|
int32 play = 8;
|
|
|
|
//
|
|
|
|
int64 ctime = 9;
|
|
|
|
//
|
|
|
|
bool state = 10;
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
bool is_popular = 11;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
|
|
|
repeated Badge badges = 12;
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
string cover_right = 13;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
|
|
|
string bvid = 14;
|
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
bool is_steins = 15;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
bool is_ugcpay = 16;
|
2021-02-03 00:02:04 +08:00
|
|
|
//
|
2021-07-12 16:37:03 +08:00
|
|
|
bool is_cooperation = 17;
|
2021-02-03 00:02:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
message EpisodicButton {
|
|
|
|
//
|
|
|
|
string text = 1;
|
|
|
|
//
|
|
|
|
string uri = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
message OrderConfig {
|
|
|
|
//
|
|
|
|
string title = 1;
|
|
|
|
//
|
|
|
|
string value = 2;
|
2021-06-14 01:33:41 +08:00
|
|
|
}
|