update grpc proto from 7.49.0 (#833)
This commit is contained in:
@@ -64,7 +64,7 @@ message CreateTopic {
|
||||
//
|
||||
message CreatTask {
|
||||
//
|
||||
string task = 1;
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -5,6 +5,46 @@ package bilibili.api.ticket.v1;
|
||||
service Ticket {
|
||||
// 获取鉴权用 Ticket
|
||||
rpc GetTicket (GetTicketRequest) returns (GetTicketResponse);
|
||||
// 获取 Webview 页面使用的 Ticket
|
||||
rpc GenWebTicket (GenWebTicketRequest) returns (GenWebTicketResponse);
|
||||
}
|
||||
|
||||
//
|
||||
message GenWebTicketRequest {
|
||||
//
|
||||
map<string, string> context = 1;
|
||||
//
|
||||
string key_id = 2;
|
||||
//
|
||||
string hexsign = 3;
|
||||
//
|
||||
string token = 4;
|
||||
}
|
||||
|
||||
//
|
||||
message GenWebTicketResponse {
|
||||
//
|
||||
message Context {
|
||||
//
|
||||
string v_voucher = 1;
|
||||
}
|
||||
//
|
||||
message Nav {
|
||||
//
|
||||
string img = 1;
|
||||
//
|
||||
string sub = 2;
|
||||
}
|
||||
//
|
||||
string ticket = 1;
|
||||
//
|
||||
int64 created_at = 2;
|
||||
//
|
||||
int64 ttl = 3;
|
||||
//
|
||||
Context context = 4;
|
||||
//
|
||||
Nav nav = 5;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user