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

Add ability to populate fields on media #3

Open
mjordan opened this issue Mar 19, 2018 · 1 comment
Open

Add ability to populate fields on media #3

mjordan opened this issue Mar 19, 2018 · 1 comment
Assignees

Comments

@mjordan
Copy link
Owner

mjordan commented Mar 19, 2018

Thanks to @dannylamb's patience on IRC, I got this working:

curl -v -u admin:islandora -H "Content-Type: application/json" -X PATCH --data-binary @my.json "http://localhost:8000/media/17?_format=json"

where my.json is

{"bundle": [{"target_id":"web_content","target_type":"media_bundle"}], "field_premis_event": [{"value":"Hi there."}]}

@mjordan mjordan self-assigned this Mar 19, 2018
mjordan added a commit that referenced this issue Mar 27, 2018
@mjordan
Copy link
Owner Author

mjordan commented Mar 14, 2019

The syntax for this has probably been obsoleted.

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