(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-multiple-submission-reviews {:keys [status instances note]})
Create a submission review
Create a submission review
(create-submission-review {:keys [status instance note]})
Create a submission review
Create a submission review
(create-xform-meta-permissions dataset-id editor-meta-role dataentry-meta-role)
Integer String String -> Channel HttpResponse
Integer String String -> Channel HttpResponse
(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.
(delete-submission-review instance)
(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.
(file-import dataset-id {:keys [filename] :as media-file} & [overwrite?])
Import csv or xls file data to existing form
Import csv or xls file data to existing form
(filename-for-format dataset-id format)
Return filename taking format special cases into account.
Return filename taking format special cases into account.
(files instance-id project-id & {:keys [no-cache? dataset-id]})
(filter-submission-review-by-instance {:keys [instance status note]})
(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.
(get-media-file-extension filename)
(get-submission-review submission-review-id)
Get a submission review
Get a submission review
(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
(list-submission-reviews)
List a submission review
List a submission review
(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-submission-review {:keys [submission-review-id status note]})
Update a submission review
Update a submission review
(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 is a website building & hosting documentation for Clojure/Script libraries
× close