Description Usage Arguments Details Value
View source: R/accept-reject-submission.R
Accept a submission. This sets the submission status 'state' to 'ACCEPTED', and updates the review elements, 'reviewedOn' and 'reviewedBy'. Note: this function will throw an error if the REST call to Synapse fails; this could happen if the user does not have needed permissions, or the 'form_data_id' specified does not exist.
1 | accept_submission(syn, form_data_id)
|
syn |
Synapse login object |
form_data_id |
The formDataId of the submission. |
WARNING: Once a submission is rejected, the state can not be changed again.
See Synapse REST API. # nolint
The response from the acceptance call as a list containing the submission metadata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.