omeka-s icon indicating copy to clipboard operation
omeka-s copied to clipboard

POSTing primary media to the API

Open jimsafley opened this issue 1 year ago • 0 comments

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

jimsafley avatar Feb 20 '24 18:02 jimsafley