PUT /evaluation/{evalId}

Updates an Evaluation.

Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Each time an Evaluation is updated a new etag will be issued to the Evaluation. When an update is requested, Synapse will compare the etag of the passed Evaluation with the current etag of the Evaluation. 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 Evaluation and re-apply any changes, then re-attempt the Evaluation update.

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

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/evaluation/{evalId}

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