openverse-api
openverse-api copied to clipboard
Return `mature` status in the single result endpoints
Problem
Currently one is able to search by mature/not mature images, but we don't have this status available in the single results.
Description
Add a new item to the response for single images denoting if they are mature or not. This would allow us to, for example, blur the images on single results unless the user consents to viewing mature content.
Additional context
This may require a db join / relationship query when we load the single image results direct from the DB, which could impact performance.
Implementation
- [ ] 🙋 I would be interested in implementing this feature.