mirror of
https://github.com/SocialSisterYi/bilibili-API-collect.git
synced 2024-12-28 13:30:08 +08:00
70 lines
896 B
Protocol Buffer
70 lines
896 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bilibili.api.probe.v1;
|
|
|
|
//
|
|
service Probe {
|
|
//
|
|
rpc TestCode (CodeReq) returns (CodeReply);
|
|
//
|
|
rpc TestReq (ProbeReq) returns (ProbeReply);
|
|
//
|
|
rpc TestStream (ProbeStreamReq) returns (ProbeStreamReply);
|
|
//
|
|
rpc TestSub (ProbeSubReq) returns (ProbeSubReply);
|
|
}
|
|
|
|
//
|
|
message CodeReq {
|
|
//
|
|
int64 code = 1;
|
|
}
|
|
|
|
//
|
|
message CodeReply {}
|
|
|
|
//
|
|
message ProbeReq {
|
|
//
|
|
int64 mid = 1;
|
|
//
|
|
string buvid = 2;
|
|
}
|
|
|
|
//
|
|
message ProbeReply {
|
|
//
|
|
string content = 1;
|
|
//
|
|
int64 timestamp = 2;
|
|
}
|
|
|
|
//
|
|
message ProbeStreamReq {
|
|
//
|
|
int64 mid = 1;
|
|
//
|
|
int64 sequence = 2;
|
|
}
|
|
|
|
//
|
|
message ProbeStreamReply {
|
|
//
|
|
int64 sequence = 1;
|
|
//
|
|
int64 timestamp = 2;
|
|
//
|
|
string content = 3;
|
|
}
|
|
|
|
//
|
|
message ProbeSubReq {
|
|
//
|
|
int64 buvid = 1;
|
|
}
|
|
|
|
//
|
|
message ProbeSubReply {
|
|
//
|
|
int64 message_id = 1;
|
|
} |