Tasks
Add files to task
Changed onUpload files to a task. Files attach at the task level (task.files, i.e. firm-uploaded files, listed in attached_files with uploaded_by=firm). Provide either a publicly accessible URL for Truss to download, or a signed_id from POST /projects/{project_id}/tasks/direct_upload after uploading the file bytes directly to cloud storage. Requires the files_write scope, plus files_read because the response includes presigned download URLs.
post/projects/{project_id}/tasks/{id}/add_files_to_task
Request
- Base URLhttps://app2.gettruss.io/api/v1
- URLhttps://app2.gettruss.io/api/v1/projects/{project_id}/tasks/{id}/add_files_to_task
- AuthHTTP bearer
Path parameters
project_idinteger required
ID of the project
idinteger required
ID of the task to attach files to
Request body
Response
Files added to task successfully; returns the task with its attached_files
Changes
- info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info