omeka-s
omeka-s copied to clipboard
POSTing primary media to the API
I have JSON-LD for an item that includes a o:primary_media
. POSTing this to the API results in a primary media getting saved if another media exists with that ID. There is no way to remove this primary media without adding a media to the item. We'll probably have to to check to see if the media belongs to the item before setting it as the primary media