(add-tags dataset-id tags)Add tags to a dataset
Add tags to a dataset
(add-xls-report dataset-id uuid filename)Add xls report link to dataset
Add xls report link to dataset
(all username)Return all the datasets for an account.
Return all the datasets for an account.
(clone dataset-id username & {:keys [project-id]})Clone the dataset given by ID into the account with the given username.
Clone the dataset given by ID into the account with the given username.
(create params)(create params project-id)Create a new dataset from a file.
Create a new dataset from a file.
(create-xform-meta-permissions dataset-id editor-meta-role dataentry-meta-role)Integer String String -> Channel HttpResponse
Integer String String -> Channel HttpResponse
(csv-import dataset-id media-file & [overwrite?])Upload CSV data to existing form
Upload CSV data to existing form
(data dataset-id
&
{:keys [format raw? must-revalidate? accept-header query-params data-id
auth-token]})(data dataset-id
&
{:keys [format raw? must-revalidate? accept-header query-params data-id
auth-token]
:or {:format "json"}})Return the data associated with a dataset.
Return the data associated with a dataset.
(download dataset-id format & [async data-type export-options])Download dataset in specified format.
Download dataset in specified format.
(download-synchronously dataset-id
format
&
{:keys [accept-header submission-id dataview?]})Download form data in specified format. The synchronicity here refers to the server side. This will still return a channel, not data, in CLJS. The options map (last parameter) has the following keys: :accept-header Defaults to application/json :submission-id The id of the submission whose data the client requires. The function returns data for all submissions if this is not provided. :dataview? Boolean flag indicating whether the data belongs to a filtered dataview
Download form data in specified format. The synchronicity here refers to the server side. This will still return a channel, not data, in CLJS. The options map (last parameter) has the following keys: :accept-header Defaults to application/json :submission-id The id of the submission whose data the client requires. The function returns data for all submissions if this is not provided. :dataview? Boolean flag indicating whether the data belongs to a filtered dataview
(download-xls-report dataset-id meta-id filename)(download-xls-report dataset-id meta-id filename data-id)Download xls report from the j2x service
Download xls report from the j2x service
(edit-history dataset-id instance-id)Returns a submission's edit history
Returns a submission's edit history
(edit-link username project-id dataset-id instance-id)Return link to online data entry.
Return link to online data entry.
(filename-for-format dataset-id format)Return filename taking format special cases into account.
Return filename taking format special cases into account.
(form dataset-id)(form dataset-id format)Download form as JSON string or file in specified format if format passed.
Download form as JSON string or file in specified format if format passed.
(link-xform-or-dataview-as-media object-type object-id media-filename xform-id)Link xform or dataview as media
Link xform or dataview as media
(metadata dataset-id & {:keys [no-cache?]})Show dataset metadata.
Show dataset metadata.
(move-to-project dataset-id project-id)Move a dataset to a project use account if no owner passed.
Move a dataset to a project use account if no owner passed.
(new-form-owner dataset-id new-owner)Set a new form owner
Set a new form owner
(online-data-entry-link dataset-id)Return link to online data entry.
Return link to online data entry.
(patch dataset-id
params
&
{:keys [suppress-4xx-exceptions?] :or {suppress-4xx-exceptions? true}})Set the metadata for a dataset using PATCH. Only a subset of the required parameters are needed.
Set the metadata for a dataset using PATCH. Only a subset of the required parameters are needed.
(public username)Return all public datasets for a specific user.
Return all public datasets for a specific user.
(record dataset-id record-id)Retrieve a record from the dataset.
Retrieve a record from the dataset.
(update dataset-id params)Set the metadata for a dataset using PUT. All parameters must be passed.
Set the metadata for a dataset using PUT. All parameters must be passed.
(update-form-name dataset-id params)Update the title of a form
Update the title of a form
(update-sharing dataset-id username role)Share dataset with specific user
Share dataset with specific user
(update-xform-meta-permissions dataset-id
metadata-id
editor-meta-role
dataentry-meta-role)Integer Integer String String -> Channel HttpResponse
Integer Integer String String -> Channel HttpResponse
(upload-file submission-id file)Upload metadata file for a submission
Upload metadata file for a submission
(upload-media datasetd-id media-file)Upload media for a form
Upload media for a form
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |