Scale Intelligence■ Docs
Docs / The model / DownloadJob

DownloadJob.

One file of a download set through the download manager: resumable by byte range, pausable, bounded by residency, landing in bronze or the person's workspace

Figure 1DownloadJobspecified
DOWNLOADJOBwork at follows scopeaddresstextthe download set it belongs tosetidthe page's session or a held identityidentityidoptionalfilterResourceFilterbytes_expectedcountoptionalbytes_donecountdestinationenum:bronze|the workspaceartefact_hashhashoptionalfailureFailureClassoptionalRESOURCEFILTERthrough filterFAILURECLASSthrough failure
DownloadJob is a work at follows scope. The drawing shows its fields and the objects that they point at.
kind
work
scope
follows
key
the address and the caller
store
postgres
family
sources

Fields#

fieldtyperequirednote
addresstextyes
setidyesthe download set it belongs to
identityidnothe page’s session or a held identity
filterResourceFilteryes
bytes_expectedcountno
bytes_donecountyes
destinationone of bronze | the workspaceyes
artefact_hashhashno
failureFailureClassno

Routes that use it#

No route takes or returns DownloadJob directly. The record holds it, and the objects that point at it reach it.