Skip to content
Snippets Groups Projects
Commit bc3c31a6 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

fix: missing integer sizes

parent 014805af
No related branches found
No related tags found
1 merge request!12Extend Upload API for resumable downloads
Pipeline #61578 failed
...@@ -107,7 +107,7 @@ message FileInformation { ...@@ -107,7 +107,7 @@ message FileInformation {
// The target filename is the filename which will be used on the server. // The target filename is the filename which will be used on the server.
string target_filename = 2; string target_filename = 2;
// Size of the file in bytes. // Size of the file in bytes.
int size_bytes = 3; int64 size_bytes = 3;
// Checksum of the file according to the checksum algorithm. // Checksum of the file according to the checksum algorithm.
Checksum checksum = 4; Checksum checksum = 4;
} }
...@@ -115,7 +115,7 @@ message FileInformation { ...@@ -115,7 +115,7 @@ message FileInformation {
// Register a file upload for a list of files. The server will respond with a // 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. // registration id and URLs to which the files can be uploaded.
message RegisterFileUploadRequest { message RegisterFileUploadRequest {
repeated FileInformation = 1; repeated FileInformation file_information = 1;
} }
// The URL to which a file should be uploaded using the given LinkAhead // The URL to which a file should be uploaded using the given LinkAhead
...@@ -127,9 +127,9 @@ message UploadLocation { ...@@ -127,9 +127,9 @@ message UploadLocation {
// The version of the LinkAhead upload protocol. This is currently identical to // The version of the LinkAhead upload protocol. This is currently identical to
// the TUS protocol version. // the TUS protocol version.
message UploadProtocolVersion { message UploadProtocolVersion {
int major = 1; int32 major = 1;
int minor = 2; int32 minor = 2;
int patch = 3; int32 patch = 3;
} }
// Response of the file server upon an upload registration request. // Response of the file server upon an upload registration request.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment