Update a work
PUT /work/works/
Description
PUT /work/works/ Description: Partial update of a work’s own fields (does not touch writers or recordings — use the dedicated endpoints for those). Authorization:- Required role:
adminor higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
CWRWork id (the /work/works/:id route family uses id, not workId)
Body
Accepts any CWRWork writable field; tenantId is set server-side from the caller's active workspace and any client-supplied value is overwritten. No dedicated request validator exists — invalid combinations surface as a 400 from Sequelize model validation.
Response
Work updated
International Standard Musical Work Code (max 13 chars)
Seconds
CWR "recording detail" blocks embedded on the work (distinct from the WorkRecording junction table / WorkRecordings below)
Includes completeness (complete/skeleton), source (e.g. publishing-bootstrap), seededDefaults, origin.library