Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-proto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-proto
Commits
bc3c31a6
Commit
bc3c31a6
authored
2 months ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
fix: missing integer sizes
parent
014805af
No related branches found
No related tags found
1 merge request
!12
Extend Upload API for resumable downloads
Pipeline
#61578
failed
2 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/caosdb/file_transmission/v1/main.proto
+5
-5
5 additions, 5 deletions
proto/caosdb/file_transmission/v1/main.proto
with
5 additions
and
5 deletions
proto/caosdb/file_transmission/v1/main.proto
+
5
−
5
View file @
bc3c31a6
...
@@ -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
;
int
64
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
;
int
32
major
=
1
;
int
minor
=
2
;
int
32
minor
=
2
;
int
patch
=
3
;
int
32
patch
=
3
;
}
}
// Response of the file server upon an upload registration request.
// Response of the file server upon an upload registration request.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment