Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

jottacloud: minor cleanup of upload response

albertony6da352249932
diff --git a/backend/jottacloud/api/types.go b/backend/jottacloud/api/types.go
index db1e22aa6..ada266c8a 100644
--- a/backend/jottacloud/api/types.go
+++ b/backend/jottacloud/api/types.go
@@ -122,16 +122,11 @@ type AllocateFileResponse struct {
// UploadResponse after an upload
type UploadResponse struct {
- Name string `json:"name"`
- Path string `json:"path"`
- Kind string `json:"kind"`
- ContentID string `json:"content_id"`
- Bytes int64 `json:"bytes"`
- Md5 string `json:"md5"`
- Created int64 `json:"created"`
- Modified int64 `json:"modified"`
- Deleted interface{} `json:"deleted"`
- Mime string `json:"mime"`
+ Path string `json:"path"`
+ ContentID string `json:"content_id"`
+ Bytes int64 `json:"bytes"`
+ Md5 string `json:"md5"`
+ Modified int64 `json:"modified"`
}
// DeviceRegistrationResponse is the response to registering a device