Comments
Read a file attached to a task comment, by ref
Returns the TEXT of one file attached inside a comment. id is the attachment's numeric id, read from the comment's attachments. Only text files are readable here (extensions such as md, txt, csv, tsv, json, yml, xml, html, log, sql and common source files), up to 256 KB. An image, a PDF, an oversize file, an empty one, or one whose stored file is missing is refused with a 422 that names it; open it from the comment's page instead. An attachment id that belongs to another comment is a 404. Requires operation comments:read.
get/tasks/{task_id}/comments/{comment_id}/attachments/{id}
Request
- Base URL: https://app.fareeqy.com/api/v1
- URL: https://app.fareeqy.com/api/v1/tasks/{task_id}/comments/{comment_id}/attachments/{id}
- Auth: HTTP bearer
Response
The attachment and its text.
Example response
{
"data": {
"id": 9044,
"name": "أخطاء-الاستيراد.csv",
"content_type": "text/csv",
"byte_size": 412,
"comment_id": 518,
"comment_url": "https://app.fareeqy.com/tasks/tsk-9wb7t",
"content": "row,error\n14,missing due date\n22,unknown assignee\n"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.