Skip to main content

Add a version to an entity

POST 

/api/v1/musiccompanion/entities/:id/versions

Adds a version (a radio edit, a full-length mix, a station intro, new artwork) either from an asset uploaded with POST /api/v1/musiccompanion/assets or from a new upload. With an upload source the response carries the signed target: PUT the file there, then confirm it with POST /api/v1/musiccompanion/assets/{id}/confirm. The first version of a kind becomes primary; pass isPrimary to replace the current primary. Attaching an ONLINE audio asset queues any automatic analyses enabled on the entity type.

Request​

Responses​

The created version, with an upload target when requested.