Publishing Bootstrap
Apply pending items — the only CWR write path
POST /publishing-bootstrap/apply
POST
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
POST /publishing-bootstrap/apply Description: Imports the selected PENDING items into the CWR tables. Each item runs in its OWN transaction — a failing item is markedfailed
(with importError) without rolling back its siblings — and
re-apply is idempotent (only pending items are picked up).
Per item:
createitems insert a skeletonCWRWork(title capped at 60 chars, canonical ISWC or null, seeded enums, metadata taggedsource: publishing-bootstrap), find-or-create each writer (deduped by tenant-scoped IPI, then case-insensitive name), and link the work to its recordings.linkitems only add work-recording links to the existing target work — no work or writer creation.- The asset’s
iswcis backfilled ONLY when currently empty; an existing value is never overwritten. - Unresolved conflict items fail with an error instructing the
reviewer to set
finalData.resolveConflictfirst.
- Required role:
adminor higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json