Closed danpersa closed 8 years ago
My proposal for the API is this:
GET /deleted-routes
-> all deleted routes
GET /deleted-routes/${deletedBeforeDate}
-> all of the routes deleted before the specified date
DELETE /deleted-routes/${deletedBeforeDate}
-> remote all of the routes deleted before the specified date from the database
(and log who did that)
To make it simpler let's do only
GET /deleted-routes/${deletedBeforeDate}
-> all of the routes deleted before the specified date
DELETE /deleted-routes/${deletedBeforeDate}
-> remote all of the routes deleted before the specified date from the database
(and log who did that)
I will do it in two steps. First GET operation and then DELETE in the next pull request.
sounds like a good idea :+1:
As a routes admin, I'd like to be able to see and remove the oldly deleted routes from the database So that I keep the routes database clean