24 lines
389 B
Protocol Buffer
24 lines
389 B
Protocol Buffer
syntax="proto3";
|
|
|
|
option csharp_namespace="VizhTalk.Grpc.CDN";
|
|
|
|
package greet;
|
|
|
|
import "DTOs.proto";
|
|
|
|
message UploadFileCommand{
|
|
UploadFile file = 1;
|
|
Id mediaGroupId = 2;
|
|
string clientId = 3;
|
|
string fileName = 4;
|
|
}
|
|
message CreateMediaGroupCommand{
|
|
string key = 1;
|
|
bool isSecure = 2;
|
|
string title = 3;
|
|
}
|
|
message UploadFile{
|
|
bytes file=1;
|
|
string name = 2;
|
|
string contentType = 3;
|
|
} |