Introduce API to retrieve uploaded fie

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

Introduce an API to list, fetch and delete uploaded files in a project. Right now the API upload-a-file allow to upload a file giving back the endpoint, but there is no API way to manage these files, it's impossible to list, download and delete them using API interface, making scripting and API interface difficult to manage Merge Request and comments.

A proposal could be to have an endpoint instead of /uploads could be /files and have the PUT/POST/GET operation mapped. In order to download the file could be /files/:id/raw like the repository API.

Edited by 🤖 GitLab Bot 🤖