Add export / import routes
This commit is contained in:
@@ -16,3 +16,15 @@ type FileRecord struct {
|
||||
Deleted bool `json:"deleted"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
type ImportFileRecord struct {
|
||||
ID string `json:"id"`
|
||||
DeletionID string `json:"deletion_id"`
|
||||
Filename string `json:"filename"`
|
||||
ExpiresAt time.Time `json:"expires_at"`
|
||||
DeleteAfterDownload bool `json:"delete_after_download"`
|
||||
Size int64 `json:"size"`
|
||||
DownloadCount int `json:"download_count"`
|
||||
Deleted bool `json:"deleted"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user