diff --git a/dozer-types/protos/cloud.proto b/dozer-types/protos/cloud.proto index 0dd18e33cd..0c372f28d7 100644 --- a/dozer-types/protos/cloud.proto +++ b/dozer-types/protos/cloud.proto @@ -35,6 +35,7 @@ service DozerCloud { rpc list_files(ListFilesRequest) returns (ListFilesResponse); rpc update_files(UpdateFileRequest) returns (UpdateFileResponse); rpc save_files(SaveFilesRequest) returns (SaveFilesResponse); + rpc delete_files(DeleteFileRequest) returns (DeleteFileResponse); rpc OnLogMessage(LogMessageRequest) returns (stream LogMessage); rpc OnStatusUpdate(StatusUpdateRequest) returns (stream StatusUpdate); @@ -217,12 +218,16 @@ message FileInfo { string id = 1; File file = 2; } - +message DeleteFileRequest { + string app_id = 1; + repeated string file_ids = 2; +} +message DeleteFileResponse { +} message UpdateFileRequest { string app_id = 1; repeated FileInfo files = 2; } - message UpdateFileResponse { repeated FileInfo files = 1; }