Change a task status to "to review".

PUT /actions/tasks/{task_id}/to-review

It creates a new preview file entry and set path from the hard disk.

Path parameters

Body

person ID, name, comment, revision and change status of task

Responses

  • 200

    Task status changed to "to review"

  • 400

    Given person not found

PUT /actions/tasks/{task_id}/to-review
curl \
 -X PUT http://localhost:8080/api/actions/tasks/{task_id}/to-review \
 -H "Authorization: $API_KEY" \
 -d '{"person_id":"a24a6ea4-ce75-4665-a070-57453082c25","comment":"string","name":"string","revision":42,"change_status":true}'
Request example
{
  "person_id": "a24a6ea4-ce75-4665-a070-57453082c25",
  "comment": "string",
  "name": "string",
  "revision": 42,
  "change_status": true
}