Liking cljdoc? Tell your friends :D

milia.api.async-export


build-export-suffixclj/s

(build-export-suffix url
                     data-format
                     &
                     [{:keys [no-url-encode] :as export-options}])

Build the export options string to pass to the Ona API.

Build the export options string to pass to the Ona API.
raw docstring

delete-exportclj/s

(delete-export export-id)

Delete an export based on an export id

Delete an export based on an export id
raw docstring

export-async-urlclj/s


export-failure-status-msgclj/s


export-option-keysclj/s


export-option-valuesclj/s


export-pending-status-msgclj/s


get-async-export-datacljs

(get-async-export-data dataset-id fmt http-method & args)

Returns a channel, which will have the async data downloaded using http-method when ready.

Returns a channel, which will have the async _data_
downloaded using http-method when ready.
raw docstring

get-async-export-urlcljs

(get-async-export-url dataset-id data-format)

Returns a channel, which will have the async export url when ready.

Returns a channel, which will have the async export url when ready.
raw docstring

get-exports-per-formclj/s

(get-exports-per-form dataset-id)

Get exports based on a form id.

Get exports based on a form id.
raw docstring

initial-polling-intervalclj/s


monitor-async-exports-per-form!cljs

(monitor-async-exports-per-form! dataset-id callback)

Repeatedly polls the export endpoint given a form_id while any of the export status is pending.

Repeatedly polls the export endpoint given a form_id while any of the
export status is pending.
raw docstring

trigger-async-export!cljs

(trigger-async-export! dataset-id
                       &
                       [{:keys [data-type data-format export-options on-job-id
                                on-export-url on-error on-done]}])

Triggers async export and watches it via polling. Fires on-job-id callback on receving :job_uuid from server, then monitors job via polling. On receiving :export_url from server, on-export-url fired.

Triggers async export and watches it via polling.
Fires on-job-id callback on receving :job_uuid from server, then monitors
job via polling.
On receiving :export_url from server, on-export-url fired.
raw docstring

version-keyclj/s

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close