Skip to content

Add REST API endpoints to manage uploads

What does this MR do and why?

Add REST API endpoints to list, download, and delete project and group uploads

Queries

  1. Listing: https://console.postgres.ai/gitlab/gitlab-production-main/sessions/29741/commands/92384
  2. Fetching single upload: https://postgres.ai/console/gitlab/gitlab-production-main/sessions/29741/commands/92385

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

  1. Upload a file to an issue or epic
  2. Confirm that the upload is listed in /api/v4/projects/<id>/uploads
  3. Try to download / delete the upload via /api/v4/projects/<id>/uploads/<upload_id>

Related to #25838 (closed)

Edited by Heinrich Lee Yu

Merge request reports

Loading