Download REST API endpoints (#72)
* backend and frontend hotfixes, see message Improved rendering on the frontend by cutting unecessary useStates. Backend side, downloads now auto resume even on application kill. * download rest api endpoints, general code refactor * download request json mappings
This commit is contained in:
@@ -66,8 +66,8 @@ type AbortRequest struct {
|
||||
// struct representing the intent to start a download
|
||||
type DownloadRequest struct {
|
||||
Id string
|
||||
URL string
|
||||
Path string
|
||||
Rename string
|
||||
Params []string
|
||||
URL string `json:"url"`
|
||||
Path string `json:"path"`
|
||||
Rename string `json:"rename"`
|
||||
Params []string `json:"params"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user