wetrack_add_ticket_attachment
Attach an uploaded S3 file to a ticket by supplying its URL, name, size, and MIME type. Use after uploading the file via a presigned S3 URL.
Instructions
Add a file attachment to a ticket (the file must already be uploaded to S3). Use wetrack_get_upload_presign_url to upload to S3 first, then call this.
Args: ticket_id: The ticket UUID. url: S3 URL of the uploaded file. file_name: Original file name e.g. 'screenshot.png'. file_size: File size in bytes. file_type: MIME type e.g. 'image/png'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| file_name | Yes | ||
| file_size | Yes | ||
| file_type | No | ||
| ticket_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |