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