Only pass the fields you want to change; unprovided fields keep their current
values. An update with no changed fields is rejected as a no-op.
Required:
work_id: the record to update - a published record PID (e.g.
'4171t-rc787'), a full record URL, or its OAI. Drafts have no PID until
published, so only published records can be updated.
Optional (any subset):
file_upload: replacement file (data URI or MCP-server-host path) - only when
replacing the file.
title, description, creators, keywords, references: metadata to change.
resource_type: must be one of analysis, image, video, audio, publication,
document, software, project, dataset, presentation, workflow, tutorial,
other - any other value is rejected with 400 'Not a valid value.'
subjects: up to 5 subject display names
(https://www.compoid.com/subjects). Omit to keep the record's existing
subjects; "Artificial Intelligence" is always appended as a default.