Skip to content
Snippets Groups Projects
Verified Commit 756d4615 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: files

parent f4816f44
No related branches found
No related tags found
1 merge request!2F consolidation
Pipeline #11624 canceled
...@@ -501,8 +501,8 @@ message RetrieveRequest { ...@@ -501,8 +501,8 @@ message RetrieveRequest {
// Is the client requesting to download the file associated with the // Is the client requesting to download the file associated with the
// retrieved entity or query results? // retrieved entity or query results?
bool register_file_download = 3; bool register_file_download = 3;
// Settings for the download. Ignored if register_file_download is false. //TODO Settings for the download. Ignored if register_file_download is false.
FileTransmissionSettings download_settings = 4; //FileTransmissionSettings download_settings = 4;
} }
// Response to a retrieve request // Response to a retrieve request
...@@ -518,8 +518,6 @@ message RetrieveResponse { ...@@ -518,8 +518,6 @@ message RetrieveResponse {
// Result of a COUNT query // Result of a COUNT query
int64 count_result = 4; int64 count_result = 4;
} }
// Response to `register_file_download = true` in the RetrieveRequest.
string registration_id = 5;
} }
// Single delete request (by id) // Single delete request (by id)
...@@ -739,7 +737,7 @@ service FileTransmissionService { ...@@ -739,7 +737,7 @@ service FileTransmissionService {
rpc RegisterFileUpload(RegisterFileUploadRequest) rpc RegisterFileUpload(RegisterFileUploadRequest)
returns (RegisterFileUploadResponse); returns (RegisterFileUploadResponse);
// The actual file upload. The upload has to be registered prior to this rpc. // The actual file upload. The upload has to be registered prior to this rpc.
rpc FileUpload(FileUploadRequest) returns (FileUploadResponse); rpc FileUpload(stream FileUploadRequest) returns (FileUploadResponse);
// A file download. The download has to be registered prior this rpc in the // A file download. The download has to be registered prior this rpc in the
// RetrieveRequest. // RetrieveRequest.
rpc FileDownload(FileDownloadRequest) returns (FileDownloadResponse); rpc FileDownload(FileDownloadRequest) returns (FileDownloadResponse);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment