1curl https://api.awork.com/api/v1/workspaces/workspaceId/files \2 -H "Authorization: Bearer <token>"
1[2 {3 "name": "Final project report",4 "description": "The client requested a cost overview and timeline",5 "id": "123e4567-e89b-12d3-a456-426614174000",6 "entityId": "123e4567-e89b-12d3-a456-426614174000",7 "fileName": "Final project report.xlsx",8 "entityType": "project",9 "mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",10 "createdOn": "2024-01-15T09:30:00Z",11 "createdBy": "123e4567-e89b-12d3-a456-426614174000",12 "updatedOn": "2024-01-15T09:30:00Z",13 "updatedBy": "123e4567-e89b-12d3-a456-426614174000",14 "fileVersions": [15 {16 "id": "123e4567-e89b-12d3-a456-426614174000",17 "fileInfoId": "123e4567-e89b-12d3-a456-426614174000",18 "version": 13,19 "size": 13590,20 "width": 1920,21 "height": 1200,22 "createdOn": "2024-01-15T09:30:00Z",23 "createdBy": "123e4567-e89b-12d3-a456-426614174000",24 "updatedOn": "2024-01-15T09:30:00Z",25 "updatedBy": "123e4567-e89b-12d3-a456-426614174000"26 }27 ],28 "isCommentFile": false,29 "externalProvider": "string",30 "externalFileUrl": "string",31 "isHiddenForConnectUsers": true32 }33]
Bearer authentication of the form Bearer <token>, where token is your auth token.
Bearer <token>
format: "uuid"
1
10
The user-specified name of the file.
format: "date-time"