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.
Service Limits
resource | limit |
---|---|
The maximum frequency this method can be called | 1 calls per second |
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 |
Required OAuth Scopes | view , modify |
HTTP Method | PUT |
Request Object | SubmissionStatus (application/json) |
Response Object | SubmissionStatus (application/json) |