Skip to content

Commit

Permalink
更新部分proto结构体文件
Browse files Browse the repository at this point in the history
  • Loading branch information
SocialSisterYi committed Jun 10, 2021
1 parent 7d06579 commit 555f7ae
Show file tree
Hide file tree
Showing 23 changed files with 1,926 additions and 2,360 deletions.
62 changes: 0 additions & 62 deletions grpc_api/bilibili/account/fission/v1.proto

This file was deleted.

48 changes: 48 additions & 0 deletions grpc_api/bilibili/account/fission/v1/fission.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
syntax = "proto3";

package bilibili.account.fission.v1;

//Fission裂变
service Fission {
// 活动入口
rpc Entrance (EntranceReq) returns (EntranceReply);
// 首页弹窗
rpc Window (WindowReq) returns (WindowReply);
}

// 活动入口-请求
message EntranceReq {}

// 活动入口-响应
message EntranceReply {
// 展示图标
string icon = 1;
// 活动名称
string name = 2;
// 活动跳转链接
string url = 3;
// 动画效果
AnimateIcon animateIcon = 4;
}

// 首页弹窗-请求
message WindowReq {}

//首页弹窗-响应
message WindowReply {
// 弹窗类型
// 0:弹窗 1:普通页面
int32 type = 1;
// 跳转链接
string url = 2;
// 上报数据字段
string reportData = 3;
}

//动画效果
message AnimateIcon {
// icon文件
string icon = 1;
// 动效json文件
string json = 2;
}
File renamed without changes.
103 changes: 0 additions & 103 deletions grpc_api/bilibili/api/player/v1.proto

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,79 +5,65 @@ package bilibili.api.probe.v1;
//
service Probe {
//
rpc TestCode (CodeReq) returns (CodeReply);
//
rpc testCode (CodeReq) returns (CodeReply);

//
//
rpc testReq (ProbeReq) returns (ProbeReply);

//
rpc TestReq (ProbeReq) returns (ProbeReply);
//
rpc testStream (ProbeStreamReq) returns (ProbeStreamReply);

rpc TestStream (ProbeStreamReq) returns (ProbeStreamReply);
//
//
rpc testSub (ProbeSubReq) returns (ProbeSubReply);
rpc TestSub (ProbeSubReq) returns (ProbeSubReply);
}

//-请求
//
message CodeReq {
//
int64 code = 1;
}

//-回复
message CodeReply {

}
//
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 messageId = 1;
Expand Down
16 changes: 16 additions & 0 deletions grpc_api/bilibili/app/archive/middleware/v1/preload.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
syntax = "proto3";

package bilibili.app.archive.middleware.v1;

// 视频秒开参数
message PlayerArgs {
// 清晰度
int64 qn = 1;
// 流版本
int64 fnver = 2;
// 流类型
int64 fnval = 3;
// 返回url是否强制使用域名
// 0:不强制使用域名 1:http域名 2:https域名
int64 force_host = 4;
}
Loading

0 comments on commit 555f7ae

Please sign in to comment.