[NebulousLabs/Sia] Add clear download history methods and endpoints (#3084)

oh, I missed that we were clearing all of the downloads before/after a given timestamp. A hash wouldn’t work for that.
Although, is this functionality that we need to implement on the backend? It wouldn’t be hard for the UI to loop over the downloads, get the ID of each download it wants to clear, and then make a separate request for each ID. (If separate requests are too expensive, we can accept a list of IDs.) I prefer to keep the API flexible so that you can do things like “delete all downloads containing the string ‘foo’.”

This post was last modified on June 13, 2018, 9:41 pm