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

Notifications when recieving image reports

Open zackkrida opened this issue 3 years ago • 3 comments
trafficstars

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.

zackkrida avatar Jan 05 '22 19:01 zackkrida

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.

dhruvkb avatar Jan 06 '22 01:01 dhruvkb

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!

AetherUnbound avatar Jan 06 '22 01:01 AetherUnbound

analytics writes event rows to the same database as the API.

dhruvkb avatar Jan 06 '22 01:01 dhruvkb