openverse-api icon indicating copy to clipboard operation
openverse-api copied to clipboard

Return `mature` status in the single result endpoints

Open zackkrida opened this issue 3 years ago • 0 comments

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.

zackkrida avatar Mar 24 '22 20:03 zackkrida