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

Allow metadata properties on media objects #507

Merged
merged 3 commits into from Nov 9, 2018

Conversation

Projects
None yet
1 participant
@eduardoboucas
Copy link
Member

eduardoboucas commented Nov 9, 2018

With this PR, it's possible to add arbitrary data to media objects, either at the point of creating or as part of an update request. Since POST and PUT requests to media buckets should always be of type multipart/form-data, metadata properties should be added as a JSON-stringified object to a field with any name.

@eduardoboucas eduardoboucas requested a review from jimlambie Nov 9, 2018

@eduardoboucas eduardoboucas merged commit 52d6174 into develop Nov 9, 2018

4 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.03%) to 89.584%
Details
security/snyk - package.json (DADI) No new issues
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment