PUT /entity/{ownerId}/wiki2orderhint
Update an order hint that corresponds to the given owner Entity.
Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Each time an WikiOrderHint is updated a new etag will be issued to the WikiOrderHint. When an update is requested, Synapse will compare the etag of the passed WikiOrderHint with the current etag of the WikiOrderHint. 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 WikiOrderHint 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 granted the ACCESS_TYPE.UPDATE permission on the owner.
Resource URL
https://repo-prod.prod.sagebase.org/repo/v1/entity/{ownerId}/wiki2orderhint
Resource URL Variables
{ownerId} |
Resource Information | |
---|---|
Authentication | Required |
Required OAuth Scopes | view , modify |
HTTP Method | PUT |
Request Object | V2WikiOrderHint (application/json) |
Response Object | V2WikiOrderHint (application/json) |