[gRpc] 添加评论区 At 用户列表接口 (#681)

* 增加新版动态点赞转发列表接口

* 更新包名 `interface`  -> `interfaces`

* 添加评论区 At 用户列表 gRPC 接口

* 添加grpc接口使用示例
This commit is contained in:
XiaoMiku01 2023-05-23 11:52:42 +08:00 committed by GitHub
parent 05ac3d5e2a
commit 0e17dd421a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 52 additions and 12 deletions

View File

@ -1 +1,37 @@
// TODO
syntax = "proto3";
package bilibili.relation.interface.v1;
service RelationInterface {
// At ()
rpc AtSearch (AtSearchReq) returns (AtSearchReply);
}
message AtSearchReq {
// 1 , 0
int64 mid = 1;
//
string keyword = 2;
}
message AtSearchReply {
//
repeated AtGroup items = 1;
}
message AtGroup {
// 2: 4: ,
int32 group_type = 1;
//
string group_name = 2;
//
repeated AtItem items = 3;
}
message AtItem {
int64 mid = 1;
string name = 2;
string face = 3;
int32 fans = 4;
int32 official_verify_type = 5;
}

View File

@ -31,4 +31,8 @@ authorization:identify_v1 {access_key}
## 接口请求定义
*稍后补充*
_稍后补充_
## 示例
B 站 gRPC API Golang 封装:[XiaoMiku01/bilibili-grpc-api-go](https://github.com/XiaoMiku01/bilibili-grpc-api-go)