Skip to content

List all uploads

GET
/api/v4/projects/{id}/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.

id
required
One of:
string

The ID or URL-encoded path of the project

page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20

OK

Media type application/json
object
id
integer format: int64
size
integer
filename
string
created_at
string format: date-time
uploaded_by
object
id
integer format: int64
username
string
public_email
string
name
string
Example
{
"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"
}
}

Bad Request

Unauthenticated

Not found