actions

c3s/submission~ actions

Methods

(static) createSubmission() → {Promise.<(*|boolean|void)>}

Create a submission.

Source:

Create a submission

Returns:
Type
Promise.<(*|boolean|void)>

(static) getSubmissionCount(search)

Retrieve the number of submissions matching a query.

Source:

Retrieve the number of submissions matching a query

Parameters:
Name Type Description
search Object

(static) getSubmissions(search) → {Promise.<(*|boolean|void)>}

Retrieve submissions matching the query object.

Source:

Retrieve submissions matching the query object

Parameters:
Name Type Description
search Array.<Object, number>
Returns:
Type
Promise.<(*|boolean|void)>

(static) updateSubmission(submission) → {Promise.<(*|boolean|void)>}

Update a submission based on the ID.

Source:

Update a submission based on the ID

Parameters:
Name Type Description
submission Object
Returns:
Type
Promise.<(*|boolean|void)>