List files in Downloads section via API

Issue #5704 duplicate
Juha Kuitunen
created an issue

Projects have Downloads section which contains user uploaded files and zip, gz and bz2 compressed archives to all tags and branches in the repo. It would be nice if all those files could be listed via API. Currently correct file names for tags and branches can be guessed with addidional API queries but I can't find any way to list user uploaded files expect when searching those links from HTML source code of Downloads page.