Add a preview to given task.
POST
/actions/tasks/{task_id}/comments/{comment_id}/add-preview
Revision is automatically set: it is equal to last revision + 1, or can be set manually.
Path parameters
-
task_id string(UUID) Required
-
comment_id string(UUID) Required
POST /actions/tasks/{task_id}/comments/{comment_id}/add-preview
curl \
-X POST http://localhost:8080/api/actions/tasks/{task_id}/comments/{comment_id}/add-preview \
-H "Authorization: $API_KEY" \
-d '{"duration":42}'
Request example
{
"duration": 42
}