Liking cljdoc? Tell your friends :D

wagoe.storage.core.export-jobs

A data export produced by a background job, from request to download.

A data export produced by a background job, from request to download.
raw docstring

download-windowclj

How long a finished archive can be downloaded.

How long a finished archive can be downloaded.
sourceraw docstring

downloadable?clj

(downloadable? {:keys [status file-key expires-at]} now)
source

failedclj

(failed job message now)
source

finishedclj

(finished job file-key now)

job done, its archive at file-key.

`job` done, its archive at `file-key`.
sourceraw docstring

new-jobclj

(new-job id subject requested-by now)
source

own-data?clj

(own-data? {:keys [subject requested-by]})

Whether job exports the data of who asked for it, rather than an admin's export of someone else.

Whether `job` exports the data of who asked for it, rather than an
admin's export of someone else.
sourceraw docstring

requested-by?clj

(requested-by? job user-id)

Whether user-id asked for job. Only they may see it.

Whether `user-id` asked for `job`. Only they may see it.
sourceraw docstring

requests-per-hourclj

How many export jobs one requester may open an hour, by default. 0 is no limit.

How many export jobs one requester may open an hour, by default. 0 is no
limit.
sourceraw docstring

status-viewclj

(status-view job download-path now)

job as its status endpoint answers it; download-path only while the archive can be downloaded.

`job` as its status endpoint answers it; `download-path` only while the
archive can be downloaded.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close