Attachments

Upload a file

multipart/form-data with a single file field, max 25 MB. Allowed types: JPEG, PNG, GIF, WebP, PDF, plain text, CSV, ZIP, Word, Excel, PowerPoint (SVG is refused). The project owner is notified.

post/tasks/{taskId}/attachments

Request

  • Base URL: https://tasg.app/api/v1
  • URL: https://tasg.app/api/v1/tasks/{taskId}/attachments
  • Auth: HTTP bearer

Path parameters

taskIdstring uuid required

Task id.

Response

Stored.

idstring uuid required
task_idstring uuid required
comment_idstring uuid nullable
filenamestring required
file_sizeinteger required

Bytes.

mime_typestring required
urlstring required

Relative download path (/uploads/…); requires the same Authorization header.

uploaded_bystring uuid required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.