新增
This commit is contained in:
parent
a6f87e75b8
commit
2c936c6536
|
@ -13,7 +13,7 @@ import "google/protobuf/any.proto";
|
|||
service resource {
|
||||
|
||||
// 获取资源详情
|
||||
rpc GetResourceInfo(GetResourceInfoReq) returns (GetResourceInfoRes) {
|
||||
rpc GetResourceInfo(GetResourceInfoReq) returns (basic.Response) {
|
||||
option (google.api.http) = {
|
||||
get: "/api/resource/info"
|
||||
};
|
||||
|
@ -43,7 +43,7 @@ message GetResourceInfoRes {
|
|||
string bucket_name = 8;
|
||||
string source = 9;
|
||||
string uploaded_at = 10;
|
||||
// google.protobuf.Struct metadata = 11;
|
||||
google.protobuf.Any metadata =11;
|
||||
google.protobuf.Struct metadata = 11;
|
||||
// google.protobuf.Any metadata =11;
|
||||
}
|
||||
/* 获取资源详情 */
|
Loading…
Reference in New Issue
Block a user