openverse-api
openverse-api copied to clipboard
Notifications when recieving image reports
Problem
The Openverse API accepts reports on images for mature content, copyright violations, and any other custom reason. We do not know when these reports have come in without some kind of alerting system.
Description
Ideally we would have an aggregated weekly report, or instant Slack notifications whenever a report comes in.
Alternatives
Additional context
Implementation
- [ ] 🙋 I would be interested in implementing this feature.
Aggregate reports over a fixed time interval seems like a good idea. Adding an endpoint to analytics for content reports seems like a good way forward, considering that it has some event aggregation & reporting infrastructure already set up.
That's also something we could schedule and submit to slack via Airflow, if there's an easy way to grab the data from the analytics server!
analytics writes event rows to the same database as the API.