This commit is contained in:
menghaiwen@fusen.cn 2023-12-05 15:40:46 +08:00
parent a6f87e75b8
commit 2c936c6536

View File

@ -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;
}
/* 获取资源详情 */