Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POSTing primary media to the API #2154

Open
jimsafley opened this issue Feb 20, 2024 · 0 comments
Open

POSTing primary media to the API #2154

jimsafley opened this issue Feb 20, 2024 · 0 comments

Comments

@jimsafley
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant