Add preview to comment
Add a preview to a comment by uploading a file in multipart form data.
POST
/actions/tasks/{task_id}/comments/{comment_id}/preview-files/{preview_file_id}
curl \
--request POST 'http://api.example.com/actions/tasks/a24a6ea4-ce75-4665-a070-57453082c25/comments/a24a6ea4-ce75-4665-a070-57453082c25/preview-files/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY" \
--header "Content-Type: multipart/form-data" \
--form "file=@file"
Response examples (201)
{
"id": "b24a6ea4-ce75-4665-a070-57453082c25",
"comment_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"task_id": "c24a6ea4-ce75-4665-a070-57453082c25",
"revision": 2,
"person_id": "d24a6ea4-ce75-4665-a070-57453082c25"
}