Files
Gokapi/internal/models/FileUpload.go
T
Marc Bulling 325849b94a Implementing guest upload / file requests (#337)
* Add API call to download files and optionally not increasing counter, added Download API permission

* Added option for presigned URLs and add download button in main menu

* Breaking: Check that chunks are at least 5MB

* Added docs

* A lot of refactoring and minor fixes
2026-01-26 16:23:07 +01:00

18 lines
428 B
Go

package models
// UploadParameters is used to set parameters for a new upload
type UploadParameters struct {
UserId int
AllowedDownloads int
Expiry int
MaxMemory int
ExpiryTimestamp int64
RealSize int64
UnlimitedDownload bool
UnlimitedTime bool
IsEndToEndEncrypted bool
Password string
ExternalUrl string
FileRequestId string
}