ooni / backend

Everything related to OONI backend infrastructure: ooni/api, ooni/pipeline, ooni/sysadmin, collector, bouncers and test-helpers
BSD 3-Clause "New" or "Revised" License
48 stars 29 forks source link

Create endpoints for publishing/unpublishing the incident reports #753

Open majakomel opened 9 months ago

majakomel commented 9 months ago

Currently, the published flag can be changed only by updating the whole incident report.

In order to be able to include a shortcut button from the dashboard, we need separate endpoints for publishing/unpublishing reports, similarly as deletion is handled via /api/v1/incidents/delete.