projects

List all uploads

Lists all uploads of a project sorted by created_at in descending order. You must have the Maintainer or Owner role for the project.

get/api/v4/projects/{id}/uploads

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

Query parameters

pageinteger

Current page number

per_pageinteger

Number of items per page

Response

List all uploads

idinteger required
sizeinteger required
filenamestring required
created_atstring date-time required

Example response

[
  {
    "id": 1,
    "size": 1024,
    "filename": "image.png",
    "created_at": "2012-06-28T10:52:04Z",
    "uploaded_by": {
      "id": 1,
      "username": "admin",
      "public_email": "john@example.com",
      "name": "Administrator"
    }
  }
]

Changes

No recorded changes to this operation across all 5 revisions of this API.