PUT /access_requirement/{ownerId}/wiki2/{wikiId}
Update a specific WikiPage of an Access Requirement. This adds a new entry to the history of changes made to this specific WikiPage.
Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Each time a WikiPage is updated a new etag will be issued to the WikiPage. When an update is requested, Synapse will compare the etag of the passed WikiPage with the current etag of the WikiPage. If the etags do not match, then the update will be rejected with a PRECONDITION_FAILED (412) response. When this occurs the caller should get the latest copy of the WikiPage and re-apply any changes to the object, then re-attempt the update. This ensures the caller has all changes applied by other users before applying their own changes.
Note: The caller must be a member of the Synapse Access and Compliance Team.
Resource URL
https://repo-prod.prod.sagebase.org/repo/v1/access_requirement/{ownerId}/wiki2/{wikiId}
Resource URL Variables
{ownerId} | The ID of the owning Access Requirement. |
{wikiId} | The ID of the WikiPage to update. |
Resource Information | |
---|---|
Authentication | Required |
Required OAuth Scopes | view , modify |
HTTP Method | PUT |
Request Object | V2WikiPage (application/json) |
Response Object | V2WikiPage (application/json) |