PUT /evaluation/submission/{subId}/status

Updates a SubmissionStatus object.

Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Each time an SubmissionStatus is updated a new etag will be issued to the SubmissionStatus. When an update is requested, Synapse will compare the etag of the passed SubmissionStatus with the current etag of the SubmissionStatus. If the etags do not match, then the update will be rejected with a PRECONDITION_FAILED (412) response. When this occurs, the caller should fetch the latest copy of the SubmissionStatus and re-apply any changes, then re-attempt the SubmissionStatus update.

Note: The caller must be granted the ACCESS_TYPE.UPDATE_SUBMISSION on the specified Evaluation.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/evaluation/submission/{subId}/status

Resource URL Variables
{subId} - the ID of the SubmissionStatus being updated.
Resource Information
Authentication Required
HTTP Methods PUT
Request Object None
Response Object SubmissionStatus
(application/json)