GET/projects/{id}/files.json
List Files on a Project
This lets you query the list of files for a project. If a file is an image, there will be an additional key called thumbURL in the response with a link to the image thumbnail.
Path Params
- Name
id
- Type
- string
- required
- Description
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 Response
200 Response
application/json
{
"project": {
"company": "Demo 1 Company",
"name": "demo",
"files": [
{
"project-id": "999",
"uploaded-by-user-last-name": "User",
"name": "readme.txt",
"uploaded-date": "2014-03-28T16:29:45Z",
"uploaded-by-userId": "999",
"description": "",
"extraData": "",
"comments-count": "0",
"version-id": "32",
"private": "0",
"status": "active",
"category-id": "13",
"version": "1",
"originalName": "readme.txt",
"id": "999",
"last-changed-on": "2014-03-28T16:29:45Z",
"size": "1612",
"versions": [],
"thumbURL": "https://tw-s3.teamworkpm.net/action=getThumb&ref=xx.xxxx.xxx.xxxxxx.x",
"file-source": "teamworkpm",
"uploaded-by-user-first-name": "Demo",
"category-name": "Demo Category"
}
],
"id": "999"
}
}