update_reference_doc
Update a reference document draft by sending only changed fields; resolves version conflicts automatically.
Instructions
Update a reference_doc draft. Read it first to get expectedVersion; on a 409 conflict, read again and retry. Pass only the fields you are changing (camelCase) in fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The reference_doc's id. | |
| fields | Yes | The fields to change, as a JSON object (camelCase keys). | |
| expectedVersion | Yes | The version you last read — rejected with 409 if stale. |