digitalinteraction / ongoingness-api

API for the Ongoingness Project
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Adding emotions to new media #5

Closed wel-shy closed 5 years ago

wel-shy commented 5 years ago

Description

Changes MediaRouter to pull emotions tag from header of newly uploaded media. This is then stored as a string array on a media resource. Also changes MediaRepository to extend MongoResourceRepository, meaning more actions are available for media resources.

Fixes #3

Tested?

Tested with existing unit tests. Unit test of uploading media has been extended to include headers