Add preview metadata to given task. The preview file itself should be

POST /actions/tasks/{task_id}/comments/{comment_id}/add-preview

uploaded afterward.

Revision is automatically set: it is equal to last revision + 1. It can
be also set manually.

Path parameters

Body

Responses

  • Preview metadata added to given task

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 '{"revision":42}'
Request examples
{
  "revision": 42
}