diff --git a/proto/caosdb/file_transmission/v1/main.proto b/proto/caosdb/file_transmission/v1/main.proto index c46b685ebe398e8cad557cd004af155ea6b7d712..4ed21a87e6da217d4a300f89aafae3457a71fcbe 100644 --- a/proto/caosdb/file_transmission/v1/main.proto +++ b/proto/caosdb/file_transmission/v1/main.proto @@ -107,7 +107,7 @@ message FileInformation { // The target filename is the filename which will be used on the server. string target_filename = 2; // Size of the file in bytes. - int size_bytes = 3; + int64 size_bytes = 3; // Checksum of the file according to the checksum algorithm. Checksum checksum = 4; } @@ -115,7 +115,7 @@ message FileInformation { // Register a file upload for a list of files. The server will respond with a // registration id and URLs to which the files can be uploaded. message RegisterFileUploadRequest { - repeated FileInformation = 1; + repeated FileInformation file_information = 1; } // The URL to which a file should be uploaded using the given LinkAhead @@ -127,9 +127,9 @@ message UploadLocation { // The version of the LinkAhead upload protocol. This is currently identical to // the TUS protocol version. message UploadProtocolVersion { - int major = 1; - int minor = 2; - int patch = 3; + int32 major = 1; + int32 minor = 2; + int32 patch = 3; } // Response of the file server upon an upload registration request.