wearefrank / ladybug

Enable users of your application to debug and test it
Apache License 2.0
12 stars 8 forks source link

Add delete all to report api #218

Closed mhdirkse closed 4 months ago

mhdirkse commented 4 months ago

I tried to have the same URL path as we have for deleting specific reports, with query parameters omitted for deleting all reports. That way, you delete all reports when you intend to delete a specific report. I fixed that by introducing path component all for the path to delete all reports.

mhdirkse commented 4 months ago

I tested this using curl: curl -X DELETE http://localhost/ladybug/api/report/all/Debug